diff --git a/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp b/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp index b98451f9e..0e70cb7fd 100644 --- a/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp +++ b/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp @@ -442,8 +442,7 @@ void SoftwareSerial::setRxIntMsk(bool enable) void SoftwareSerial::end() { - if (_rx_delay_stopbit) - setRxIntMsk(false); + stopListening(); }