mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Fix compile error
This commit is contained in:
parent
cec838090d
commit
9a5a73ade9
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ void mixTable(void)
|
|||
motor[i] = rollPitchYawMix[i] + constrain(throttle * currentMixer[i].throttle, throttleMin, throttleMax);
|
||||
|
||||
if (isFailsafeActive) {
|
||||
mixConstrainMotorForFailsafeCondition(i);
|
||||
motor[i] = constrain(motor[i], escAndServoConfig->mincommand, escAndServoConfig->maxthrottle);
|
||||
} else if (feature(FEATURE_3D)) {
|
||||
if (throttle >= (rxConfig->midrc + flight3DConfig->deadband3d_throttle)) {
|
||||
motor[i] = constrain(motor[i], flight3DConfig->deadband3d_high, escAndServoConfig->maxthrottle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue