summaryrefslogtreecommitdiff
path: root/examples/device/board_test/src
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-11-30 18:05:04 +0100
committerHiFiPhile <[email protected]>2024-11-30 18:05:04 +0100
commitc41d9db3b1cf23b10b755b55a231fc9b1a7dd147 (patch)
treecfd006e9a2b6b3cb82a1c8c9f96a6671d5cf7cbb /examples/device/board_test/src
parent486e14ea9b66432396089367e61a0480bbb960a9 (diff)
parent2179fb1bd93b71d755c4bf212aff7094f5e8337d (diff)
Merge branch 'master' into rt1170
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/device/board_test/src')
-rw-r--r--examples/device/board_test/src/main.c2
-rw-r--r--examples/device/board_test/src/tusb_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/board_test/src/main.c b/examples/device/board_test/src/main.c
index 91799eb89..2269d45f1 100644
--- a/examples/device/board_test/src/main.c
+++ b/examples/device/board_test/src/main.c
@@ -67,7 +67,7 @@ int main(void) {
}
}
-#if CFG_TUSB_MCU == OPT_MCU_ESP32S2 || CFG_TUSB_MCU == OPT_MCU_ESP32S3
+#if TUSB_MCU_VENDOR_ESPRESSIF
void app_main(void) {
main();
}
diff --git a/examples/device/board_test/src/tusb_config.h b/examples/device/board_test/src/tusb_config.h
index 89c27d1c0..8ac3bc8de 100644
--- a/examples/device/board_test/src/tusb_config.h
+++ b/examples/device/board_test/src/tusb_config.h
@@ -44,7 +44,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