mirror of https://github.com/arendst/Tasmota.git
Merge pull request #6383 from s-hadinger/serial_115200_3
TasmotaSerial: Force wait for Stop Bit
This commit is contained in:
commit
d3997b2851
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue