1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Made float parameter calculation static.

This commit is contained in:
Michael Keller 2017-04-21 13:18:23 +12:00
parent df4b09e874
commit 40a2bee492
3 changed files with 15 additions and 4 deletions

View file

@ -277,6 +277,7 @@ void pidInit(const pidProfile_t *pidProfile)
pidSetTargetLooptime(gyro.targetLooptime * pidConfig()->pid_process_denom); // Initialize pid looptime
pidInitFilters(pidProfile);
pidInitConfig(pidProfile);
pidInitMixer(pidProfile);
}
// calculates strength of horizon leveling; 0 = none, 1.0 = most leveling