|
|
@ -102,11 +102,18 @@ uint16_t HAL_adc_get_result() { |
|
|
|
return HAL_adc_result; |
|
|
|
} |
|
|
|
|
|
|
|
// Forward the default serial port
|
|
|
|
DefaultSerial MSerial(false, Serial); |
|
|
|
|
|
|
|
DefaultSerial1 MSerial1(false, Serial1); |
|
|
|
DefaultSerial2 MSerial2(false, Serial2); |
|
|
|
DefaultSerial3 MSerial3(false, Serial3); |
|
|
|
// Forward the default serial ports
|
|
|
|
#if ANY_SERIAL_IS(0) |
|
|
|
DefaultSerial MSerial(false, Serial); |
|
|
|
#endif |
|
|
|
#if ANY_SERIAL_IS(1) |
|
|
|
DefaultSerial1 MSerial1(false, Serial1); |
|
|
|
#endif |
|
|
|
#if ANY_SERIAL_IS(2) |
|
|
|
DefaultSerial2 MSerial2(false, Serial2); |
|
|
|
#endif |
|
|
|
#if ANY_SERIAL_IS(3) |
|
|
|
DefaultSerial3 MSerial3(false, Serial3); |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif // ARDUINO_ARCH_SAM
|
|
|
|