Fix airmode debug

This commit is contained in:
borisbstyle 2016-03-02 14:15:42 +01:00
parent 39fb722536
commit b191919b6e
1 changed files with 1 additions and 1 deletions

View File

@ -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);