From d1fde4fe93b058907c2995ab0ad1ae5836a60ae8 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 26 Jul 2020 03:15:17 -0700 Subject: [PATCH] make reality match the test --- firmware/controllers/actuators/electronic_throttle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 4f94a74ef3..ef32b12da9 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -747,8 +747,8 @@ void doInitElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) { addConsoleActionI("etb_freq", setEtbFrequency); #endif /* EFI_PROD_CODE */ - // If you don't have a pedal, we have no business here. - if (!Sensor::hasSensor(SensorType::AcceleratorPedalPrimary)) { + // If you don't have a pedal (or VW idle valve mode), we have no business here. + if (!CONFIG(volkswagenEtbIdle) && !Sensor::hasSensor(SensorType::AcceleratorPedalPrimary)) { return; }