diff options
-rw-r--r-- | libraries/SoftwareSerial/SoftwareSerial.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/SoftwareSerial/SoftwareSerial.cpp b/libraries/SoftwareSerial/SoftwareSerial.cpp index 8476deb..605c788 100644 --- a/libraries/SoftwareSerial/SoftwareSerial.cpp +++ b/libraries/SoftwareSerial/SoftwareSerial.cpp @@ -178,6 +178,9 @@ inline void SoftwareSerial::tunedDelay(uint16_t delay) { // one and returns true if it replaces another
bool SoftwareSerial::listen()
{
+ if (!_rx_delay_stopbit)
+ return false;
+
if (active_object != this)
{
_buffer_overflow = false;
|