mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Fix intermittent hardware watchdogs
Fix intermittent hardware watchdogs in case of high speed software serial flooding
This commit is contained in:
parent
430396832f
commit
48ae4b247c
@ -425,6 +425,9 @@ void IRAM_ATTR TasmotaSerial::rxRead(void) {
|
||||
if (next != (int)m_out_pos) {
|
||||
m_buffer[m_in_pos] = rec;
|
||||
m_in_pos = next;
|
||||
} else {
|
||||
// Buffer overrun - prep to exit and fix Hardware Watchdog in case of high speed flooding
|
||||
loop_read = 0;
|
||||
}
|
||||
|
||||
TM_SERIAL_WAIT_RCV_LOOP; // wait for stop bit
|
||||
|
Loading…
x
Reference in New Issue
Block a user