From 604896a3fccec561c5863f233ad8f01c1df3494b Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Mon, 8 Feb 2016 09:18:41 +0100 Subject: [PATCH] Fix 3D inversed throttle --- 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 c8851f400..ccf498dd6 100755 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -837,7 +837,7 @@ void mixTable(void) if (isFailsafeActive) { motor[i] = constrain(motor[i], escAndServoConfig->mincommand, escAndServoConfig->maxthrottle); } else if (feature(FEATURE_3D)) { - if (throttle >= (rxConfig->midrc + flight3DConfig->deadband3d_throttle)) { + if (throttle >= flight3DConfig->deadband3d_high) { motor[i] = constrain(motor[i], flight3DConfig->deadband3d_high, escAndServoConfig->maxthrottle); } else { motor[i] = constrain(motor[i], escAndServoConfig->minthrottle, flight3DConfig->deadband3d_low); -- 2.11.4.GIT