Added SerialUSB alias for Serial on 32u4 boards
This commit is contained in:
parent
f28a1f3674
commit
54fd3f8413
|
@ -356,4 +356,7 @@ const uint8_t PROGMEM analog_pin_to_channel_PGM[] = {
|
||||||
#define SERIAL_PORT_HARDWARE Serial1
|
#define SERIAL_PORT_HARDWARE Serial1
|
||||||
#define SERIAL_PORT_HARDWARE_OPEN Serial1
|
#define SERIAL_PORT_HARDWARE_OPEN Serial1
|
||||||
|
|
||||||
|
// Alias SerialUSB to Serial
|
||||||
|
#define SerialUSB SERIAL_PORT_USBVIRTUAL
|
||||||
|
|
||||||
#endif /* Pins_Arduino_h */
|
#endif /* Pins_Arduino_h */
|
||||||
|
|
Loading…
Reference in New Issue