1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Change min threshold for mix reduction

This commit is contained in:
borisbstyle 2016-03-04 22:03:13 +01:00
parent 65e17dd957
commit bafdbf4b2a

View file

@ -787,7 +787,7 @@ void mixTable(void)
bool isFailsafeActive = failsafeIsActive(); // TODO - Find out if failsafe checks are really needed here in mixer code
if (motorLimitReached) {
uint8_t pidAttenuation = constrain(qPercent(mixReduction), 20, 100);
uint8_t pidAttenuation = constrain(qPercent(mixReduction), 30, 100);
for (axis = 0; axis < 2; axis++) axisPID[axis] *= pidAttenuation / 100;
if (debugMode == DEBUG_AIRMODE) debug[0] = pidAttenuation;
}