mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: disable AUX passthrough during termination
This commit is contained in:
parent
78ef3b77c6
commit
856b4f4d14
@ -28,6 +28,8 @@ void AP_AdvancedFailsafe_Plane::terminate_vehicle(void)
|
|||||||
ch_yaw->set_radio_out(ch_yaw->get_limit_pwm(RC_Channel::RC_CHANNEL_LIMIT_MAX));
|
ch_yaw->set_radio_out(ch_yaw->get_limit_pwm(RC_Channel::RC_CHANNEL_LIMIT_MAX));
|
||||||
ch_throttle->set_radio_out(ch_throttle->get_limit_pwm(RC_Channel::RC_CHANNEL_LIMIT_MIN));
|
ch_throttle->set_radio_out(ch_throttle->get_limit_pwm(RC_Channel::RC_CHANNEL_LIMIT_MIN));
|
||||||
|
|
||||||
|
RC_Channel_aux::disable_passthrough(true);
|
||||||
|
|
||||||
plane.servos_output();
|
plane.servos_output();
|
||||||
|
|
||||||
// and all aux channels
|
// and all aux channels
|
||||||
|
Loading…
Reference in New Issue
Block a user