Skip to content

Commit 74ebc46

Browse files
committed
Merge pull request #279 from readerror67/fw_throttle_fix
Prevent motor constraints on fixed wing aircraft.
2 parents 8c1dc36 + 7835e13 commit 74ebc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ void mixTable(void)
607607
if (motor[i] > maxMotor)
608608
maxMotor = motor[i];
609609
for (i = 0; i < numberMotor; i++) {
610-
if (maxMotor > mcfg.maxthrottle) // this is a way to still have good gyro corrections if at least one motor reaches its max.
610+
if (maxMotor > mcfg.maxthrottle && !f.FIXED_WING) // this is a way to still have good gyro corrections if at least one motor reaches its max.
611611
motor[i] -= maxMotor - mcfg.maxthrottle;
612612

613613
if (feature(FEATURE_3D)) {

0 commit comments

Comments
 (0)