From a6f68f86126428b20419f36e958762249657878a Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Tue, 10 Sep 2019 10:37:06 +0200 Subject: [PATCH] Fix #6391 --- lib/TasmotaSerial-2.4.0/src/TasmotaSerial.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/TasmotaSerial-2.4.0/src/TasmotaSerial.cpp b/lib/TasmotaSerial-2.4.0/src/TasmotaSerial.cpp index c2672f514..5ffcaf390 100644 --- a/lib/TasmotaSerial-2.4.0/src/TasmotaSerial.cpp +++ b/lib/TasmotaSerial-2.4.0/src/TasmotaSerial.cpp @@ -218,6 +218,7 @@ int TasmotaSerial::available() #else #define TM_SERIAL_WAIT_SND { while (ESP.getCycleCount() < (wait + start)); wait += m_bit_time; } #define TM_SERIAL_WAIT_RCV { while (ESP.getCycleCount() < (wait + start)); wait += m_bit_time; } +#define TM_SERIAL_WAIT_RCV_LOOP { while (ESP.getCycleCount() < (wait + start)); } #endif size_t TasmotaSerial::write(uint8_t b)