mirror of https://github.com/rusefi/rusefi-1.git
make reality match the test
This commit is contained in:
parent
2b212fbaab
commit
d1fde4fe93
|
@ -747,8 +747,8 @@ void doInitElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
addConsoleActionI("etb_freq", setEtbFrequency);
|
addConsoleActionI("etb_freq", setEtbFrequency);
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
|
|
||||||
// If you don't have a pedal, we have no business here.
|
// If you don't have a pedal (or VW idle valve mode), we have no business here.
|
||||||
if (!Sensor::hasSensor(SensorType::AcceleratorPedalPrimary)) {
|
if (!CONFIG(volkswagenEtbIdle) && !Sensor::hasSensor(SensorType::AcceleratorPedalPrimary)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue