We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 524b5c2 commit 739ac19Copy full SHA for 739ac19
components/arduino_tinyusb/include/tusb_config.h
@@ -115,11 +115,7 @@ extern "C" {
115
#define CFG_TUD_ENDOINT0_SIZE 64
116
117
// 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
+#define CFG_TUD_CDC CONFIG_TINYUSB_CDC_ENABLED
123
#define CFG_TUD_MSC CONFIG_TINYUSB_MSC_ENABLED
124
#define CFG_TUD_HID CONFIG_TINYUSB_HID_ENABLED
125
#define CFG_TUD_MIDI CONFIG_TINYUSB_MIDI_ENABLED
0 commit comments