remove alternator on/off mode fix #4548

This commit is contained in:
Andrey 2022-09-07 22:59:40 -04:00
parent 766735f3b6
commit 73a7b24871
1 changed files with 1 additions and 3 deletions

View File

@ -105,13 +105,11 @@ void initAlternatorCtrl() {
if (!isBrainPinValid(engineConfiguration->alternatorControlPin))
return;
if (!engineConfiguration->onOffAlternatorLogic) {
startSimplePwm(&alternatorControl,
startSimplePwm(&alternatorControl,
"Alternator control",
&engine->executor,
&enginePins.alternatorPin,
engineConfiguration->alternatorPwmFrequency, 0);
}
}
// todo: start invoking this method like 'startVvtControlPins'