Fix 3D inversed throttle
This commit is contained in:
parent
beaca5ba36
commit
604896a3fc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue