From 73c2fd3cb4a546605ea2fa3edf8c37ebc341d26d Mon Sep 17 00:00:00 2001 From: Andre Thomas Date: Sun, 20 Oct 2019 11:48:09 +0200 Subject: [PATCH] Update TasmotaSerial.cpp --- lib/TasmotaSerial-2.4.1/src/TasmotaSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/TasmotaSerial-2.4.1/src/TasmotaSerial.cpp b/lib/TasmotaSerial-2.4.1/src/TasmotaSerial.cpp index ebce5a496..45a1d47af 100644 --- a/lib/TasmotaSerial-2.4.1/src/TasmotaSerial.cpp +++ b/lib/TasmotaSerial-2.4.1/src/TasmotaSerial.cpp @@ -158,7 +158,7 @@ bool TasmotaSerial::begin(long speed, int stop_bits) { m_bit_time = ESP.getCpuFreqMHz() * 1000000 / speed; m_bit_start_time = m_bit_time + m_bit_time/3 - (ESP.getCpuFreqMHz() > 120 ? 700 : 500); // pre-compute first wait m_high_speed = (speed >= 9600); - m_very_high_speed = (speed >= 100000); + m_very_high_speed = (speed >= 50000); } return m_valid; }