mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 09:16:07 +03:00
Fix code style (#13429)
Fix GPS arming flag when BOXGPSRESCUE is enabled but procedure is not set to GPS_RECUE
This commit is contained in:
parent
94be8f0673
commit
915caae88d
2 changed files with 2 additions and 3 deletions
|
@ -177,7 +177,7 @@ void processRcStickPositions(void)
|
|||
// in a true signal loss situation, allow disarm only once we regain validated RxData (failsafeIsReceivingRxData = true),
|
||||
// to avoid potentially false disarm signals soon after link recover
|
||||
// Note that BOXFAILSAFE will also drive failsafeIsReceivingRxData false (immediately at start or end)
|
||||
// That's why we explicitly allow disarm here BOXFAILSAFE switch is active
|
||||
// That's why we explicitly allow disarm here if BOXFAILSAFE switch is active
|
||||
// Note that BOXGPSRESCUE mode does not trigger failsafe - we can always disarm in that mode
|
||||
rcDisarmTicks++;
|
||||
if (rcDisarmTicks > 3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue