mirror of https://github.com/rusefi/rusefi-1.git
Weird VAG: DC motor idle valve not ETB #1637
etbTarget gauge in DC idle mode
This commit is contained in:
parent
8c5279d245
commit
a8f45d960a
|
@ -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
|
// 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.
|
// can pull the throttle up off the stop.), so we directly control the throttle with the idle position.
|
||||||
if (CONFIG(dcMotorIdleValve)) {
|
if (CONFIG(dcMotorIdleValve)) {
|
||||||
|
#if EFI_TUNER_STUDIO
|
||||||
|
tsOutputChannels.etbTarget = m_idlePosition;
|
||||||
|
#endif // EFI_TUNER_STUDIO
|
||||||
return clampF(0, m_idlePosition, 100);
|
return clampF(0, m_idlePosition, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -206,7 +209,7 @@ expected<percent_t> EtbController::getSetpoint() const {
|
||||||
if (m_myIndex == 0) {
|
if (m_myIndex == 0) {
|
||||||
tsOutputChannels.etbTarget = targetPosition;
|
tsOutputChannels.etbTarget = targetPosition;
|
||||||
}
|
}
|
||||||
#endif
|
#endif // EFI_TUNER_STUDIO
|
||||||
|
|
||||||
return targetPosition;
|
return targetPosition;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue