Force wait for Stop Bit

This commit is contained in:
Stephan Hadinger 2019-09-08 22:20:34 +02:00
parent c0b69a6dde
commit 98378c1962

View File

@ -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;