From b59fa071a85911ee9755a46f428ff1dc3f448f46 Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Thu, 5 Jan 2017 20:49:59 +0100 Subject: [PATCH] Fix polarity bug in rc expo --- src/main/fc/fc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/fc_main.c b/src/main/fc/fc_main.c index 59faa78d3..a33b25bbf 100644 --- a/src/main/fc/fc_main.c +++ b/src/main/fc/fc_main.c @@ -157,7 +157,7 @@ void calculateSetpointRate(int axis, int16_t rc) { if (rcExpo) { float expof = rcExpo / 100.0f; - rcCommandf = rcCommandf * power3(rcDeflection[axis]) * expof + rcCommandf * (1-expof); + rcCommandf = rcCommandf * power3(rcDeflectionAbs[axis]) * expof + rcCommandf * (1-expof); } angleRate = 200.0f * rcRate * rcCommandf;