mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Update TasmotaSerial.cpp
This commit is contained in:
parent
461bcc4d27
commit
73c2fd3cb4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user