diff options
| author | hathach <[email protected]> | 2024-10-15 17:55:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-10-15 17:55:24 +0700 |
| commit | 4012e150757b517620465d93a22b0787c6400c5d (patch) | |
| tree | 74987698f27e95d8bed1ce20f4b89b41dc4cb7b5 /examples/device/video_capture/src | |
| parent | 10a3aa3cc8f58a783d2109f5a6c9a4012992f982 (diff) | |
move core init code to dwc2 common. update/correct build for esppressif
Diffstat (limited to 'examples/device/video_capture/src')
| -rw-r--r-- | examples/device/video_capture/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/video_capture/src/tusb_config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/video_capture/src/main.c b/examples/device/video_capture/src/main.c index aeeeb8930..8bb924c61 100644 --- a/examples/device/video_capture/src/main.c +++ b/examples/device/video_capture/src/main.c @@ -292,7 +292,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) { @@ -352,7 +352,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/src/tusb_config.h b/examples/device/video_capture/src/tusb_config.h index 3a6daa3d3..6dbd6f2a5 100644 --- a/examples/device/video_capture/src/tusb_config.h +++ b/examples/device/video_capture/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 |
