mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Converted target config.c files to PG - PG CLI 6 (#2578)
Converted CLI and target config.c files to PGs
This commit is contained in:
parent
90443bb33b
commit
f1ce19167f
35 changed files with 568 additions and 462 deletions
|
@ -256,11 +256,11 @@ void pidInitConfig(const pidProfile_t *pidProfile) {
|
|||
ITermWindupPointInv = 1.0f / (1.0f - ITermWindupPoint);
|
||||
}
|
||||
|
||||
void pidInit(void)
|
||||
void pidInit(const pidProfile_t *pidProfile)
|
||||
{
|
||||
pidSetTargetLooptime(gyro.targetLooptime * pidConfig()->pid_process_denom); // Initialize pid looptime
|
||||
pidInitFilters(currentPidProfile);
|
||||
pidInitConfig(currentPidProfile);
|
||||
pidInitFilters(pidProfile);
|
||||
pidInitConfig(pidProfile);
|
||||
}
|
||||
|
||||
static float calcHorizonLevelStrength(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue