From 716ce6a5a7a4daec986ccb5f2beabe7402b5c75b Mon Sep 17 00:00:00 2001 From: Robert Lefebvre Date: Fri, 13 Jul 2012 23:12:26 -0400 Subject: [PATCH] Change to prevent Tricopter servos from going hard-over during Disarmed state. Believe this was an oversight when the change to AP_Motors went in. --- libraries/AP_Motors/AP_MotorsTri.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Motors/AP_MotorsTri.cpp b/libraries/AP_Motors/AP_MotorsTri.cpp index c49ce87e47..8cab79b7c6 100644 --- a/libraries/AP_Motors/AP_MotorsTri.cpp +++ b/libraries/AP_Motors/AP_MotorsTri.cpp @@ -51,7 +51,7 @@ void AP_MotorsTri::output_min() _rc->OutputCh(_motor_to_channel_map[AP_MOTORS_MOT_1], _rc_throttle->radio_min); _rc->OutputCh(_motor_to_channel_map[AP_MOTORS_MOT_2], _rc_throttle->radio_min); _rc->OutputCh(_motor_to_channel_map[AP_MOTORS_MOT_4], _rc_throttle->radio_min); - _rc->OutputCh(_motor_to_channel_map[AP_MOTORS_CH_TRI_YAW], _rc_throttle->radio_trim); + _rc->OutputCh(_motor_to_channel_map[AP_MOTORS_CH_TRI_YAW], _rc_yaw->radio_trim); // InstantPWM if( _speed_hz == AP_MOTORS_SPEED_INSTANT_PWM ) {