From 00585ebc3f0e02f305002d13f357206e5e16fdeb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 23 Mar 2020 09:42:15 +1100 Subject: [PATCH] Plane: fixed flaperon auto-trim fixed direction of flaperon automatic trim with SERVO_AUTO_TRIM --- ArduPlane/servos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/servos.cpp b/ArduPlane/servos.cpp index c1c12631d7..1c155e92ea 100644 --- a/ArduPlane/servos.cpp +++ b/ArduPlane/servos.cpp @@ -872,7 +872,7 @@ void Plane::servos_auto_trim(void) g2.servo_channels.adjust_trim(SRV_Channel::k_vtail_right, pitch_I); g2.servo_channels.adjust_trim(SRV_Channel::k_flaperon_left, roll_I); - g2.servo_channels.adjust_trim(SRV_Channel::k_flaperon_right, -roll_I); + g2.servo_channels.adjust_trim(SRV_Channel::k_flaperon_right, roll_I); // cope with various dspoiler options const int8_t bitmask = g2.crow_flap_options.get();