Plane: disable AUX passthrough during termination

This commit is contained in:
Andrew Tridgell 2016-10-12 14:41:34 +11:00
parent 78ef3b77c6
commit 856b4f4d14
1 changed files with 2 additions and 0 deletions

View File

@ -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_throttle->set_radio_out(ch_throttle->get_limit_pwm(RC_Channel::RC_CHANNEL_LIMIT_MIN));
RC_Channel_aux::disable_passthrough(true);
plane.servos_output();
// and all aux channels