correction to last Github push

This commit is contained in:
Anthony Good 2020-05-26 14:17:29 -04:00
parent 0c3dd72321
commit 0afb74cfbc
2 changed files with 6 additions and 6 deletions

View File

@ -944,7 +944,7 @@ byte current_az_speed_voltage = 0;
SERIAL_PORT_CLASS * control_port;
#endif
#if !defined(ARDUINO_AVR_MICRO)
#if !defined(ARDUINO_AVR_MICRO) && !defined(ARDUINO_AVR_LEONARDO) && !defined(ARDUINO_AVR_YUN)
#if defined(FEATURE_MASTER_WITH_SERIAL_SLAVE)
SERIAL_PORT_CLASS * remote_unit_port;
#endif
@ -954,7 +954,7 @@ byte current_az_speed_voltage = 0;
#endif
#endif
#if !defined(ARDUINO_AVR_MICRO)
#if !defined(ARDUINO_AVR_MICRO) && !defined(ARDUINO_AVR_LEONARDO) && !defined(ARDUINO_AVR_YUN)
#if defined(FEATURE_GPS)
SERIAL_PORT_CLASS * gps_port;
#ifdef GPS_MIRROR_PORT

View File

@ -36,10 +36,10 @@
#if defined(ARDUINO_MAPLE_MINI)
#define SERIAL_PORT_CLASS USBSerial
#elif defined(ARDUINO_AVR_MICRO)
#define SERIAL_PORT_CLASS Serial_
#define SERIAL_PORT_CLASS_SECONDARY HardwareSerial
#elif defined(ARDUINO_AVR_PROMICRO) || defined(ARDUINO_AVR_LEONARDO) || defined(ARDUINO_AVR_YUN) || defined(ARDUINO_AVR_ESPLORA) || defined(ARDUINO_AVR_LILYPAD_USB) || defined(ARDUINO_AVR_ROBOT_CONTROL) || defined(ARDUINO_AVR_ROBOT_MOTOR) || defined(ARDUINO_AVR_LEONARDO_ETH)
#elif defined(ARDUINO_AVR_MICRO) || defined(ARDUINO_AVR_LEONARDO) || defined(ARDUINO_AVR_YUN)
#define SERIAL_PORT_CLASS Serial_ // <- Arduino Leonardo, Micro, and Yún - Configure this
#define SERIAL_PORT_CLASS_SECONDARY HardwareSerial // <- Arduino Leonardo, Micro, and Yún - Configure this
#elif defined(ARDUINO_AVR_PROMICRO) || defined(ARDUINO_AVR_ESPLORA) || defined(ARDUINO_AVR_LILYPAD_USB) || defined(ARDUINO_AVR_ROBOT_CONTROL) || defined(ARDUINO_AVR_ROBOT_MOTOR) || defined(ARDUINO_AVR_LEONARDO_ETH)
#define SERIAL_PORT_CLASS Serial_
#elif defined(TEENSYDUINO)
#define SERIAL_PORT_CLASS usb_serial_class