Tasmota/lib/default/TasmotaSerial-3.6.0/src
mrkev-gh b472e821cf
Use 75% of the buffer for speeds higher than 115200 (#22774)
Higher speeds need larger buffer. Processing takes longer, so let's put the threshold at
75% of the buffer size to have some headroom. E.g. for 1Mbit with 2.5KB buffer 2048 characters
would be roughly still around 20ms, and reserve additional 512 chars / 5ms to handle the
buffer after the threshold is reached

Co-authored-by: mrkev-gh <mrkev-gh@users.noreply.github.com>
2025-01-06 11:34:06 +01:00
..
TasmotaSerial.cpp Use 75% of the buffer for speeds higher than 115200 (#22774) 2025-01-06 11:34:06 +01:00
TasmotaSerial.h Berry Serial config to change parity on-the-fly for RS-485 (#22285) 2024-10-13 22:15:47 +02:00