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:
parent
df4b09e874
commit
40a2bee492
3 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue