Skip to content

Commit 739ac19

Browse files
authored
revert change
1 parent 524b5c2 commit 739ac19

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

components/arduino_tinyusb/include/tusb_config.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ extern "C" {
115115
#define CFG_TUD_ENDOINT0_SIZE 64
116116

117117
// Enabled Drivers
118-
#ifdef CONFIG_TINYUSB_CDC_MAX_PORTS
119-
#define CFG_TUD_CDC CONFIG_TINYUSB_CDC_MAX_PORTS
120-
#else
121-
#define CFG_TUD_CDC 0
122-
#endif
118+
#define CFG_TUD_CDC CONFIG_TINYUSB_CDC_ENABLED
123119
#define CFG_TUD_MSC CONFIG_TINYUSB_MSC_ENABLED
124120
#define CFG_TUD_HID CONFIG_TINYUSB_HID_ENABLED
125121
#define CFG_TUD_MIDI CONFIG_TINYUSB_MIDI_ENABLED

0 commit comments

Comments
 (0)