1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Removed mixer halving in 3D mode. (#5582)

This commit is contained in:
Teracis 2018-03-31 11:43:16 +11:00 committed by Michael Keller
parent 8131e4f840
commit 45e64edb0b

View file

@ -447,18 +447,6 @@ void mixerConfigureOutput(void)
currentMixer[i] = mixers[currentMixerMode].motor[i]; currentMixer[i] = mixers[currentMixerMode].motor[i];
} }
} }
// in 3D mode, mixer gain has to be halved
if (feature(FEATURE_3D)) {
if (motorCount > 1) {
for (int i = 0; i < motorCount; i++) {
currentMixer[i].pitch *= 0.5f;
currentMixer[i].roll *= 0.5f;
currentMixer[i].yaw *= 0.5f;
}
}
}
mixerResetDisarmedMotors(); mixerResetDisarmedMotors();
} }