We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9eb43 commit c551938Copy full SHA for c551938
XBee.cpp
@@ -792,7 +792,7 @@ XBee::XBee(): _response(XBeeResponse()) {
792
_response.init();
793
_response.setFrameData(_responseFrameData);
794
// Contributed by Paul Stoffregen for Teensy support
795
-#if defined(__AVR_ATmega32U4__) || defined(__MK20DX128__)
+#if defined(__AVR_ATmega32U4__) || (defined(TEENSYDUINO) && (defined(KINETISK) || defined(KINETISL)))
796
_serial = &Serial1;
797
#else
798
_serial = &Serial;
0 commit comments