CJ125 heater zero PWM improvement

This commit is contained in:
rusefi 2019-02-01 22:27:17 -05:00
parent 56f0260414
commit a1e4880bb9
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ void SimplePwm::setSimplePwmDutyCycle(float dutyCycle) {
warning(CUSTOM_ERR_6579, "spwd:dutyCycle %.2f", dutyCycle);
return;
}
if (dutyCycle == 0.0f)
if (dutyCycle == 0.0f) {
/**
* set the pin low just to be super sure
* this custom handling of zero value comes from CJ125 heater code