Added SerialUSB alias for Serial on 32u4 boards

This commit is contained in:
Cristian Maglie 2015-11-20 12:08:35 +01:00
parent b15e001b0d
commit f659ae8581
1 changed files with 3 additions and 0 deletions

View File

@ -356,4 +356,7 @@ const uint8_t PROGMEM analog_pin_to_channel_PGM[] = {
#define SERIAL_PORT_HARDWARE Serial1
#define SERIAL_PORT_HARDWARE_OPEN Serial1
// Alias SerialUSB to Serial
#define SerialUSB SERIAL_PORT_USBVIRTUAL
#endif /* Pins_Arduino_h */