mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Merge pull request #10006 from etracer65/crash_flip_first_arming
This commit is contained in:
parent
01df562fe2
commit
1955365a47
1 changed files with 3 additions and 1 deletions
|
@ -434,7 +434,9 @@ void updateArmingStatus(void)
|
|||
void disarm(flightLogDisarmReason_e reason)
|
||||
{
|
||||
if (ARMING_FLAG(ARMED)) {
|
||||
ENABLE_ARMING_FLAG(WAS_EVER_ARMED);
|
||||
if (!flipOverAfterCrashActive) {
|
||||
ENABLE_ARMING_FLAG(WAS_EVER_ARMED);
|
||||
}
|
||||
DISABLE_ARMING_FLAG(ARMED);
|
||||
lastDisarmTimeUs = micros();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue