EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806

This commit is contained in:
rusefi 2020-07-12 19:06:26 -04:00
parent 529c6dd242
commit 0079e8d3f0
2 changed files with 4 additions and 4 deletions

View File

@ -114,11 +114,11 @@ Pid * getIdlePid() {
return &idlePid; return &idlePid;
} }
float getIdlePidOffset(DECLARE_ENGINE_PARAMETER_SUFFIX) { float getIdlePidOffset(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
return getIdlePid()->getOffset(); return getIdlePid()->getOffset();
} }
float getIdlePidMinValue(DECLARE_ENGINE_PARAMETER_SUFFIX) { float getIdlePidMinValue(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
return getIdlePid()->getMinValue(); return getIdlePid()->getMinValue();
} }

View File

@ -36,6 +36,6 @@ void stopIdleHardware(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void initIdleHardware(DECLARE_ENGINE_PARAMETER_SIGNATURE); void initIdleHardware(DECLARE_ENGINE_PARAMETER_SIGNATURE);
bool isIdleHardwareRestartNeeded(); bool isIdleHardwareRestartNeeded();
void onConfigurationChangeIdleCallback(engine_configuration_s *previousConfiguration); void onConfigurationChangeIdleCallback(engine_configuration_s *previousConfiguration);
float getIdlePidOffset(DECLARE_ENGINE_PARAMETER_SUFFIX); float getIdlePidOffset(DECLARE_ENGINE_PARAMETER_SIGNATURE);
Pid * getIdlePid(); Pid * getIdlePid();
float getIdlePidMinValue(DECLARE_ENGINE_PARAMETER_SUFFIX); float getIdlePidMinValue(DECLARE_ENGINE_PARAMETER_SIGNATURE);