fix(kiss_modem): improve RX delivery and noise floor sampling
This commit is contained in:
committed by
ViezeVingertjes
parent
1af013c741
commit
f445b5acdc
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user