8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dba0b5 commit 47ff617Copy full SHA for 47ff617
cores/esp32/HardwareSerial.h
@@ -328,10 +328,6 @@ extern void serialEventRun(void) __attribute__((weak));
328
#define ARDUINO_USB_CDC_ON_BOOT 0
329
#endif
330
#if ARDUINO_USB_CDC_ON_BOOT //Serial used for USB CDC
331
-#if !ARDUINO_USB_MODE
332
-#include "USB.h"
333
-#include "USBCDC.h"
334
-#endif
335
extern HardwareSerial Serial0;
336
#else
337
extern HardwareSerial Serial;
@@ -342,5 +338,5 @@ extern HardwareSerial Serial1;
342
338
#if SOC_UART_NUM > 2
343
339
extern HardwareSerial Serial2;
344
340
345
341
+#endif // !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
346
#endif // HardwareSerial_h
0 commit comments