mirror of https://github.com/rusefi/rusefi-1.git
clamp idle in VW mode
This commit is contained in:
parent
7003d6c7ba
commit
51a69c7478
|
@ -170,7 +170,7 @@ 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(volkswagenEtbIdle)) {
|
if (CONFIG(volkswagenEtbIdle)) {
|
||||||
return m_idlePosition;
|
return clampF(0, m_idlePosition, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the pedal map hasn't been set, we can't provide a setpoint.
|
// If the pedal map hasn't been set, we can't provide a setpoint.
|
||||||
|
|
Loading…
Reference in New Issue