summaryrefslogtreecommitdiff
path: root/examples/device/video_capture_2ch/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-15 17:55:24 +0700
committerhathach <[email protected]>2024-10-15 17:55:24 +0700
commit4012e150757b517620465d93a22b0787c6400c5d (patch)
tree74987698f27e95d8bed1ce20f4b89b41dc4cb7b5 /examples/device/video_capture_2ch/src
parent10a3aa3cc8f58a783d2109f5a6c9a4012992f982 (diff)
move core init code to dwc2 common. update/correct build for esppressif
Diffstat (limited to 'examples/device/video_capture_2ch/src')
-rw-r--r--examples/device/video_capture_2ch/src/main.c4
-rw-r--r--examples/device/video_capture_2ch/src/tusb_config.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/video_capture_2ch/src/main.c b/examples/device/video_capture_2ch/src/main.c
index dd6983766..245e7abb8 100644
--- a/examples/device/video_capture_2ch/src/main.c
+++ b/examples/device/video_capture_2ch/src/main.c
@@ -300,7 +300,7 @@ void led_blinking_task(void* param) {
#define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE
#define VIDEO_STACK_SIZE (configMINIMAL_STACK_SIZE*4)
-#if TUP_MCU_ESPRESSIF
+#if TUSB_MCU_VENDOR_ESPRESSIF
#define USBD_STACK_SIZE 4096
int main(void);
void app_main(void) {
@@ -360,7 +360,7 @@ void freertos_init_task(void) {
#endif
// skip starting scheduler (and return) for ESP32-S2 or ESP32-S3
- #if !TUP_MCU_ESPRESSIF
+ #if !TUSB_MCU_VENDOR_ESPRESSIF
vTaskStartScheduler();
#endif
}
diff --git a/examples/device/video_capture_2ch/src/tusb_config.h b/examples/device/video_capture_2ch/src/tusb_config.h
index 43c7dfc90..91775a327 100644
--- a/examples/device/video_capture_2ch/src/tusb_config.h
+++ b/examples/device/video_capture_2ch/src/tusb_config.h
@@ -58,7 +58,7 @@
#endif
// Espressif IDF requires "freertos/" prefix in include path
-#if TUP_MCU_ESPRESSIF
+#if TUSB_MCU_VENDOR_ESPRESSIF
#define CFG_TUSB_OS_INC_PATH freertos/
#endif