1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00

Added SerialUSB alias for Serial on 32u4 boards

This commit is contained in:
Cristian Maglie 2015-11-20 12:08:35 +01:00
parent 7e9f19c43b
commit e46375c089
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@ ARDUINO 1.6.7
[core]
* Fixed wrong timings for HardwareSerial::flush() in SAM core. Thanks @borisff
* Leonardo/Micro (and other atmega32u4 based boards) now have SerialUSB alias for Serial
ARDUINO 1.6.6 - 2015.11.03

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 */