1
0
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:
abeck70 2015-05-26 17:29:51 +10:00
parent 4a78602da2
commit 0ea8260a87

View File

@ -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;
}