From 41d8455b5336f7141e63c6c670b48ba0f9366c12 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-12PPI61\\boris.bozic" Date: Tue, 23 May 2017 13:18:42 +0200 Subject: [PATCH] Fix issue with no airmode and full throttle destabilisation --- 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 cc88c8f05..a1fde33ae 100755 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -605,7 +605,7 @@ void mixTable(pidProfile_t *pidProfile) throttle = 0.5f; } } else { - if (isAirmodeActive()) { // Only automatically adjust throttle during airmode scenario + if (isAirmodeActive() || throttle > 0.5f) { // Only automatically adjust throttle when airmode enabled. Airmode logic is always active on high throttle const float throttleLimitOffset = motorMixRange / 2.0f; throttle = constrainf(throttle, 0.0f + throttleLimitOffset, 1.0f - throttleLimitOffset); }