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:
commit
69a3a4ac08
16 changed files with 60 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue