From 42d0a2703413e72a19ca6d9fe1192f9527b2ad26 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 13 Feb 2023 00:56:54 -0500 Subject: [PATCH] ETB auto-calibrate usability: both buttons should not be enabled at the same time #5061 random note --- firmware/controllers/actuators/electronic_throttle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 45bf1a5ec7..2eb0034d78 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -1034,6 +1034,7 @@ void doInitElectronicThrottle() { engineConfiguration->etb1configured = engineConfiguration->etb2configured = false; // todo: technical debt: we still have DC motor code initialization in ETB-specific file while DC motors are used not just as ETB + // like DC motor wastegate code flow should probably NOT go through electronic_throttle.cpp right? // todo: rename etbFunctions to something-without-etb for same reason? for (int i = 0 ; i < ETB_COUNT; i++) { auto func = engineConfiguration->etbFunctions[i];