From c88a33495f78ec47792ee24c1c4519782a2e3781 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 9 Jul 2015 18:10:52 +0100 Subject: [PATCH] Fix incorrect default flying wing servo mixer. Baseflight code made both surfaces respond in the SAME direction when using pitch OR roll. Behaviour should be: apply pitch causes the control surfaces move in the SAME direction. apply roll causes the control surfaces should move in the OPPOSITE direction. --- src/main/flight/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/flight/mixer.c b/src/main/flight/mixer.c index 6982652eec..6cfc9b1e9a 100755 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -288,7 +288,7 @@ static const servoMixer_t servoMixerAirplane[] = { static const servoMixer_t servoMixerFlyingWing[] = { { SERVO_FLAPPERON_1, INPUT_STABILIZED_ROLL, 100, 0, 0, 100, 0 }, { SERVO_FLAPPERON_1, INPUT_STABILIZED_PITCH, 100, 0, 0, 100, 0 }, - { SERVO_FLAPPERON_2, INPUT_STABILIZED_ROLL, 100, 0, 0, 100, 0 }, + { SERVO_FLAPPERON_2, INPUT_STABILIZED_ROLL, -100, 0, 0, 100, 0 }, { SERVO_FLAPPERON_2, INPUT_STABILIZED_PITCH, 100, 0, 0, 100, 0 }, { SERVO_THROTTLE, INPUT_STABILIZED_THROTTLE, 100, 0, 0, 100, 0 }, };