1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on first disarm.

This commit is contained in:
mikeller 2019-11-30 15:01:55 +13:00
parent 938f46ccd1
commit 93c708f57d
4 changed files with 6 additions and 6 deletions

View file

@ -209,7 +209,7 @@ void failsafeUpdateState(void)
}
// Beep RX lost only if we are not seeing data and we have been armed earlier
if (!receivingRxData && ARMING_FLAG(WAS_EVER_ARMED)) {
if (!receivingRxData && (armed || ARMING_FLAG(WAS_EVER_ARMED))) {
beeperMode = BEEPER_RX_LOST;
}