mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
HAL_PX4: disable FMU outputs again on re-engaging of safety switch
This commit is contained in:
parent
8cb93ae7c3
commit
c825c7b4cc
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user