From 2343cd6b127d521414a4cd2c8b8ceaf318d9a2c2 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 2 Sep 2019 00:24:10 -0400 Subject: [PATCH] make iTerm limits visible for idle RPM pid #913 --- firmware/controllers/actuators/idle_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/actuators/idle_thread.cpp b/firmware/controllers/actuators/idle_thread.cpp index c327ea5624..9b26c58ddc 100644 --- a/firmware/controllers/actuators/idle_thread.cpp +++ b/firmware/controllers/actuators/idle_thread.cpp @@ -283,8 +283,8 @@ public: * @see stepper.cpp */ - idleRpmPid.iTermMin = engineConfiguration->idlerpmpid_iTermMin; - idleRpmPid.iTermMax = engineConfiguration->idlerpmpid_iTermMax; + idlePid.iTermMin = engineConfiguration->idlerpmpid_iTermMin; + idlePid.iTermMax = engineConfiguration->idlerpmpid_iTermMax; engine->engineState.isAutomaticIdle = engineConfiguration->idleMode == IM_AUTO;