Skip to content

Commit

Permalink
Clear crash flip mode flag on disarming (#5566)
Browse files Browse the repository at this point in the history
Previously the flag was only set during arming so after crash flip mode was used the flag would stay active until the next arming. This caused the "CRASH FLIP" warning message to erroneously display on the OSD when disarmed.
  • Loading branch information
etracer65 authored and mikeller committed Mar 30, 2018
1 parent 6dd89fb commit f705364
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/fc/fc_core.c
Expand Up @@ -180,6 +180,9 @@ void updateArmingStatus(void)
unsetArmingDisabled(ARMING_DISABLED_BOOT_GRACE_TIME);
}

// Clear the crash flip active status
flipOverAfterCrashMode = false;

// If switch is used for arming then check it is not defaulting to on when the RX link recovers from a fault
if (!isUsingSticksForArming()) {
static bool hadRx = false;
Expand Down

0 comments on commit f705364

Please sign in to comment.