From ed9bae63af8d9b82cf25229e71c5c9ac6a935bef Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 1 Dec 2019 09:39:34 -0500 Subject: [PATCH] dual throttle re-init bugfix thank you andreika! --- firmware/controllers/actuators/electronic_throttle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 1c4d16fbf9..8490a1d78f 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -536,7 +536,7 @@ bool isETBRestartNeeded(void) { /** * We do not want any interruption in HW pin while adjusting other properties */ - bool changed = isEtbPinsChanged(&engineConfiguration->etbIo[0], &activeConfiguration.etbIo[0]); + bool changed = isEtbPinsChanged(&engineConfiguration->etbIo[i], &activeConfiguration.etbIo[i]); if (changed) { return changed; }