From 98378c19628dda88a76ff73e74163bfe109a9487 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Sun, 8 Sep 2019 22:20:34 +0200 Subject: [PATCH] Force wait for Stop Bit --- lib/TasmotaSerial-2.3.5/src/TasmotaSerial.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/TasmotaSerial-2.3.5/src/TasmotaSerial.cpp b/lib/TasmotaSerial-2.3.5/src/TasmotaSerial.cpp index 1e10c8463..ece6b9937 100644 --- a/lib/TasmotaSerial-2.3.5/src/TasmotaSerial.cpp +++ b/lib/TasmotaSerial-2.3.5/src/TasmotaSerial.cpp @@ -276,6 +276,8 @@ void TasmotaSerial::rxRead() m_in_pos = next; } + TM_SERIAL_WAIT_RCV_LOOP; // wait for stop bit + wait += m_bit_time / 4; if (loop <= 0) { break; } // exit now if not very high speed or buffer full bool start_of_next_byte = false;