1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

mixTable() separation for readability

This commit is contained in:
borisbstyle 2017-07-05 13:35:21 +02:00
parent 2cac202447
commit 4ff7b9394b
3 changed files with 64 additions and 87 deletions

View file

@ -618,7 +618,7 @@ static void subTaskMotorUpdate(void)
startTime = micros();
}
mixTable(currentPidProfile);
mixTable(currentPidProfile->vbatPidCompensation);
#ifdef USE_SERVOS
// motor outputs are used as sources for servo mixing, so motors must be calculated using mixTable() before servos.