HAL_PX4: disable FMU outputs again on re-engaging of safety switch

This commit is contained in:
Andrew Tridgell 2016-10-19 18:13:11 +11:00
parent 8cb93ae7c3
commit c825c7b4cc

View File

@ -434,6 +434,8 @@ void PX4RCOutput::_publish_actuators(void)
}
if (hal.util->safety_switch_state() != AP_HAL::Util::SAFETY_DISARMED) {
_arm_actuators(true);
} else {
_arm_actuators(false);
}
}