From 1a207c919b4ef4580290a06d8d61e383ca9c63e3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 26 Aug 2017 20:16:00 +1000 Subject: [PATCH] Plane: fixed bug in TRIM_AUTO fixed trim for differential spoilers --- ArduPlane/radio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/radio.cpp b/ArduPlane/radio.cpp index 9c931b6af5..329dceac46 100644 --- a/ArduPlane/radio.cpp +++ b/ArduPlane/radio.cpp @@ -325,7 +325,7 @@ void Plane::trim_control_surfaces() SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerLeft1); SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerLeft2); SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerRight1); - SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerRight1); + SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerRight2); } if (SRV_Channels::get_output_scaled(SRV_Channel::k_flap_auto) == 0 &&