mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Rework scheduler interaction with realtime process // Detailled task manager // Fix gyro sync (was broken)
Fix cycletime calculations
This commit is contained in:
parent
9e1f78075d
commit
f7091f48d0
6 changed files with 86 additions and 16 deletions
|
@ -78,7 +78,7 @@ typedef void (*pidControllerFuncPtr)(pidProfile_t *pidProfile, controlRateConfig
|
|||
pidControllerFuncPtr pid_controller = pidMultiWiiRewrite; // which pid controller are we using, defaultMultiWii
|
||||
|
||||
void setTargetPidLooptime(uint8_t pidProcessDenom) {
|
||||
targetPidLooptime = targetLooptime * pidProcessDenom;
|
||||
targetPidLooptime = targetLooptime / pidProcessDenom;
|
||||
}
|
||||
|
||||
void pidResetErrorAngle(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue