summaryrefslogtreecommitdiff
path: root/examples/device/video_capture_2ch/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-11-28 11:02:23 +0700
committerhathach <[email protected]>2024-11-28 11:02:23 +0700
commitc514a8c87993abf481f3eda5f206765e4422571b (patch)
tree5f8602e1797b3a47c5511f8201e6143880c15e58 /examples/device/video_capture_2ch/src
parent970a03e3989b1771db59784cc6343502ba97d9a8 (diff)
parent5bb90efd5ff59d3b1d67f3c9269ce1aa57a925a6 (diff)
Merge branch 'master' into fork/pschatzmann/rp2040-iso
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