Skip to content

Commit a93dd64

Browse files
committed
Add check if CFG_TUSB_MCU is already defined
1 parent 5c06f7b commit a93dd64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/arduino_tinyusb/include/tusb_config.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ extern "C" {
7575
/* */
7676
/* COMMON CONFIGURATION */
7777
/* */
78-
78+
#ifndef CFG_TUSB_MCU
7979
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
80+
#endif
8081
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
8182
#define CFG_TUSB_OS OPT_OS_FREERTOS
8283

0 commit comments

Comments
 (0)