mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Classic D values if no D_Cut
At compile time, if D_CUT is not defined for a given target, the user will get lower default D values.
This commit is contained in:
parent
e0fc9300ed
commit
65750f09dc
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,10 @@ void resetPidProfile(pidProfile_t *pidProfile)
|
|||
pidProfile->dterm_filter_type = FILTER_BIQUAD;
|
||||
pidProfile->dterm_filter2_type = FILTER_BIQUAD;
|
||||
#endif
|
||||
#ifndef USE_D_CUT
|
||||
pidProfile->pid[PID_ROLL].D = 30;
|
||||
pidProfile->pid[PID_PITCH].D = 32;
|
||||
#endif
|
||||
}
|
||||
|
||||
void pgResetFn_pidProfiles(pidProfile_t *pidProfiles)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue