fix(kiss_modem): improve RX delivery and noise floor sampling

This commit is contained in:
agessaman 2026-02-06 16:31:20 -08:00 committed by ViezeVingertjes
parent 1af013c741
commit f445b5acdc
3 changed files with 29 additions and 10 deletions

View file

@ -99,6 +99,11 @@ void KissModem::loop() {
if (_rx_len < KISS_MAX_FRAME_SIZE) {
_rx_buf[_rx_len++] = b;
} else {
/* Buffer full with no FEND; reset so we don't stay stuck ignoring input. */
_rx_len = 0;
_rx_escaped = false;
_rx_active = false;
}
}