Fix 3D inversed throttle

This commit is contained in:
borisbstyle 2016-02-08 09:18:41 +01:00
parent beaca5ba36
commit 604896a3fc
1 changed files with 1 additions and 1 deletions

View File

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