From a8f45d960ab305ec03e2133008a12ecb645db377 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 26 Jul 2020 15:07:45 -0400 Subject: [PATCH] Weird VAG: DC motor idle valve not ETB #1637 etbTarget gauge in DC idle mode --- firmware/controllers/actuators/electronic_throttle.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 6ec1ec9ec7..599a2e42b4 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -170,6 +170,9 @@ expected EtbController::getSetpoint() const { // VW ETB idle mode uses an ETB only for idle (a mini-ETB sets the lower stop, and a normal cable // can pull the throttle up off the stop.), so we directly control the throttle with the idle position. if (CONFIG(dcMotorIdleValve)) { +#if EFI_TUNER_STUDIO + tsOutputChannels.etbTarget = m_idlePosition; +#endif // EFI_TUNER_STUDIO return clampF(0, m_idlePosition, 100); } @@ -206,7 +209,7 @@ expected EtbController::getSetpoint() const { if (m_myIndex == 0) { tsOutputChannels.etbTarget = targetPosition; } -#endif +#endif // EFI_TUNER_STUDIO return targetPosition; }