Skip to content

Commit 73a25a4

Browse files
authored
Update tusb_config.h
1 parent 79f937b commit 73a25a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/arduino_tinyusb/include/tusb_config.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ extern "C" {
7676
/* COMMON CONFIGURATION */
7777
/* */
7878

79-
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
79+
#idef CFG_TUSB_MCU
80+
#undef CFG_TUSB_MCU
81+
#endif
82+
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
8083
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
8184
#define CFG_TUSB_OS OPT_OS_FREERTOS
8285

0 commit comments

Comments
 (0)