CJ125 heater zero PWM improvement
This commit is contained in:
parent
56f0260414
commit
a1e4880bb9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue