mirror of https://github.com/ArduPilot/ardupilot
Plane: fixed handling of arming with safety on
if safety is on and you force arm them turn safety off then Q modes cannot run the motors as the AP_Motors armed state will still be off. This ensures that the motors are armed immediately we arm. This matches what copter does when arming with safety on
This commit is contained in:
parent
1e4f597e02
commit
4f327e44ea
|
@ -294,7 +294,7 @@ void AP_Arming_Plane::change_arm_state(void)
|
|||
{
|
||||
update_soft_armed();
|
||||
#if HAL_QUADPLANE_ENABLED
|
||||
plane.quadplane.set_armed(is_armed_and_safety_off());
|
||||
plane.quadplane.set_armed(hal.util->get_soft_armed());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue