1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Prevent ItermAccel and windup to clash with each other

This commit is contained in:
borisbstyle 2017-01-30 09:21:07 +01:00
parent 12a6d2f848
commit cf04294f70
4 changed files with 12 additions and 9 deletions

View file

@ -184,6 +184,7 @@ static void resetPidProfile(pidProfile_t *pidProfile)
pidProfile->rateAccelLimit = 0.0f;
pidProfile->itermThrottleThreshold = 300;
pidProfile->itermAcceleratorGain = 3.0f;
pidProfile->itermAcceleratorRateLimit = 80;
}
void resetProfile(profile_t *profile)