Skip to content

Commit e6d4422

Browse files
authored
Update tusb_config.h
1 parent 9ee8ef7 commit e6d4422

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

components/arduino_tinyusb/include/tusb_config.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,9 @@ extern "C" {
7575
/* */
7676
/* COMMON CONFIGURATION */
7777
/* */
78-
79-
#ifdef CFG_TUSB_MCU
80-
# undef CFG_TUSB_MCU
78+
#ifndef CFG_TUSB_MCU
79+
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
8180
#endif
82-
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
8381
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
8482
#define CFG_TUSB_OS OPT_OS_FREERTOS
8583

0 commit comments

Comments
 (0)