diff options
-rw-r--r-- | libraries/SoftwareSerial/SoftwareSerial.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libraries/SoftwareSerial/SoftwareSerial.cpp b/libraries/SoftwareSerial/SoftwareSerial.cpp index b98451f..0e70cb7 100644 --- a/libraries/SoftwareSerial/SoftwareSerial.cpp +++ b/libraries/SoftwareSerial/SoftwareSerial.cpp @@ -442,8 +442,7 @@ void SoftwareSerial::setRxIntMsk(bool enable) void SoftwareSerial::end()
{
- if (_rx_delay_stopbit)
- setRxIntMsk(false);
+ stopListening();
}
|