Weird VAG: DC motor idle valve not ETB #1637

etbTarget gauge in DC idle mode
This commit is contained in:
rusefi 2020-07-26 15:07:45 -04:00
parent 8c5279d245
commit a8f45d960a
1 changed files with 4 additions and 1 deletions

View File

@ -170,6 +170,9 @@ expected<percent_t> 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<percent_t> EtbController::getSetpoint() const {
if (m_myIndex == 0) {
tsOutputChannels.etbTarget = targetPosition;
}
#endif
#endif // EFI_TUNER_STUDIO
return targetPosition;
}