mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-02 19:29:15 +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()) {
|
if (forcedDisArm()) {
|
||||||
// PathPlanner forces explicit disarming due to error condition (crash, impact, fire, ...)
|
// PathPlanner forces explicit disarming due to error condition (crash, impact, fire, ...)
|
||||||
|
armState = ARM_STATE_DISARMED;
|
||||||
setArmedIfChanged(FLIGHTSTATUS_ARMED_DISARMED);
|
setArmedIfChanged(FLIGHTSTATUS_ARMED_DISARMED);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user