mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fix 3D inversed throttle
This commit is contained in:
parent
beaca5ba36
commit
604896a3fc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue