This commit is contained in:
parent
29e3c71df4
commit
8f4dd3e175
|
@ -294,9 +294,12 @@ static bool isOutOfAutomaticIdleCondition(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
* @return idle valve position percentage for automatic closed loop mode
|
||||
*/
|
||||
static percent_t automaticIdleController(float tpsPos DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||
|
||||
#if !EFI_IDLE_PID_CIC
|
||||
// todo: move this to pid_s one day
|
||||
idlePid.antiwindupFreq = engineConfiguration->idle_antiwindupFreq;
|
||||
idlePid.derivativeFilterLoss = engineConfiguration->idle_derivativeFilterLoss;
|
||||
#endif
|
||||
|
||||
if (isOutOfAutomaticIdleCondition(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||
// Don't store old I and D terms if PID doesn't work anymore.
|
||||
|
|
Loading…
Reference in New Issue