1
0
Fork 0
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:
ctzsnooze 2019-01-16 09:00:38 -07:00
parent e0fc9300ed
commit 65750f09dc

View file

@ -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)