Skip to content

Commit 7959ee9

Browse files
committed
Fixed compilation when CDC_ONLY defined #2
1 parent a7aa530 commit 7959ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/USB/USBDesc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// once an alternate method for USB PID allocation is found.
2929
#if defined(ARDUINO_CDC_ONLY) || defined(ARDUINO_CDC_UART) || defined(ARDUINO_CDC_HID) || defined(ARDUINO_CDC_HID_UART) || defined(ARDUINO_CDC_MIDI_HID_UART) || defined(ARDUINO_CDC_MSD_HID_UART) || defined(ARDUINO_CDC_MSD_MIDI_HID_UART)
3030
#define CDC_ENABLED
31-
#if defined(ARDUINO_CDC_ONLY)
31+
#if defined(ARDUINO_CDC_ONLY) || defined(ARDUINO_CDC_UART)
3232
#define CDC_ONLY
3333
#else
3434
#define IAD_PRESENT

0 commit comments

Comments
 (0)