mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
REVONANO Truely disarm on pathfollower guidance alarm
This commit is contained in:
parent
4a78602da2
commit
0ea8260a87
@ -117,6 +117,7 @@ void armHandler(bool newinit, FrameType_t frameType)
|
||||
|
||||
if (forcedDisArm()) {
|
||||
// PathPlanner forces explicit disarming due to error condition (crash, impact, fire, ...)
|
||||
armState = ARM_STATE_DISARMED;
|
||||
setArmedIfChanged(FLIGHTSTATUS_ARMED_DISARMED);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user