1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Merge pull request #9315 from hydra/bf-log-disarm-reason

Log disarm reason.
This commit is contained in:
Michael Keller 2020-01-17 19:30:37 +13:00 committed by GitHub
commit 69a3a4ac08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 60 additions and 23 deletions

View file

@ -2854,7 +2854,7 @@ static mspResult_e mspProcessInCommand(mspDescriptor_t srcDesc, uint8_t cmdMSP,
mspArmingDisableByDescriptor(srcDesc);
setArmingDisabled(ARMING_DISABLED_MSP);
if (ARMING_FLAG(ARMED)) {
disarm();
disarm(DISARM_REASON_ARMING_DISABLED);
}
#ifdef USE_RUNAWAY_TAKEOFF
runawayTakeoffTemporaryDisable(false);