aboutsummaryrefslogtreecommitdiff
path: root/libraries/SoftwareSerial
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/SoftwareSerial')
-rw-r--r--libraries/SoftwareSerial/SoftwareSerial.cpp3
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();
}