summaryrefslogtreecommitdiff
path: root/examples/device/video_capture/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-25 20:23:40 +0700
committerhathach <[email protected]>2024-04-25 20:23:40 +0700
commit2e995d7cf4b2971e3ca7167a097b99832c8d61ce (patch)
tree7895e6ba2a2e4f34b42af14930dea5be698a9e3b /examples/device/video_capture/src/main.c
parentfc91e15488523548b6eafa63a3cb6190c1ba72d8 (diff)
adding support for esp32 for use with max3421e host
Diffstat (limited to 'examples/device/video_capture/src/main.c')
-rw-r--r--examples/device/video_capture/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/video_capture/src/main.c b/examples/device/video_capture/src/main.c
index 2a2b0961f..ddb51e03a 100644
--- a/examples/device/video_capture/src/main.c
+++ b/examples/device/video_capture/src/main.c
@@ -288,7 +288,7 @@ void led_blinking_task(void* param) {
#define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE
#define VIDEO_STACK_SIZE (configMINIMAL_STACK_SIZE*4)
-#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)
+#if TUP_MCU_ESPRESSIF
#define USBD_STACK_SIZE 4096
int main(void);
void app_main(void) {
@@ -344,7 +344,7 @@ void freertos_init_task(void) {
#endif
// skip starting scheduler (and return) for ESP32-S2 or ESP32-S3
- #if !TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)
+ #if !TUP_MCU_ESPRESSIF
vTaskStartScheduler();
#endif
}