mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fix random RX loss beep when using Serial RX receivers.
This commit is contained in:
parent
7266d42466
commit
bad0b1b04d
3 changed files with 30 additions and 18 deletions
|
@ -225,6 +225,9 @@ void updateRx(uint32_t currentTime)
|
|||
if (rxSignalReceived) {
|
||||
if (((int32_t)(currentTime - needRxSignalBefore) >= 0)) {
|
||||
rxSignalReceived = false;
|
||||
#ifdef DEBUG_RX_SIGNAL_LOSS
|
||||
debug[0]++;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue