mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 13:55:18 +03:00
Remove LOOPTIME_SUSPEND_TIME
This commit is contained in:
parent
d466af8a44
commit
adf9ea2dba
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ void init(void)
|
||||||
LED1_OFF;
|
LED1_OFF;
|
||||||
|
|
||||||
// gyro.targetLooptime set in sensorsAutodetect(), so we are ready to call pidSetTargetLooptime()
|
// gyro.targetLooptime set in sensorsAutodetect(), so we are ready to call pidSetTargetLooptime()
|
||||||
pidSetTargetLooptime((gyro.targetLooptime + LOOPTIME_SUSPEND_TIME) * pidConfig()->pid_process_denom); // Initialize pid looptime
|
pidSetTargetLooptime(gyro.targetLooptime * pidConfig()->pid_process_denom); // Initialize pid looptime
|
||||||
pidInitFilters(¤tProfile->pidProfile);
|
pidInitFilters(¤tProfile->pidProfile);
|
||||||
pidInitConfig(¤tProfile->pidProfile);
|
pidInitConfig(¤tProfile->pidProfile);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue