From b191919b6e0c7d89e9a4c88592336240b43da10a Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Wed, 2 Mar 2016 14:15:42 +0100 Subject: [PATCH] Fix airmode debug --- 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 ba2dd5c66..c14ae4047 100755 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -873,7 +873,7 @@ void mixTable(void) // Now add in the desired throttle, but keep in a range that doesn't clip adjusted // roll/pitch/yaw. This could move throttle down, but also up for those low throttle flips. for (i = 0; i < motorCount; i++) { - if (debugMode == DEBUG_AIRMODE && i < 3) debug[1] = rollPitchYawMix[i]; + if (debugMode == DEBUG_AIRMODE && i < 3) debug[i] = rollPitchYawMix[i]; motor[i] = rollPitchYawMix[i] + constrain(throttle * currentMixer[i].throttle, throttleMin, throttleMax);