Skip to content

Commit 2cc5f73

Browse files
committed
Merge branch 'leonardo-usbserial' of https://github.com/cmaglie/Arduino
2 parents e2c80d0 + f659ae8 commit 2cc5f73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

variants/leonardo/pins_arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -356,4 +356,7 @@ const uint8_t PROGMEM analog_pin_to_channel_PGM[] = {
356356
#define SERIAL_PORT_HARDWARE Serial1
357357
#define SERIAL_PORT_HARDWARE_OPEN Serial1
358358

359+
// Alias SerialUSB to Serial
360+
#define SerialUSB SERIAL_PORT_USBVIRTUAL
361+
359362
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)