fix small mistake
This commit is contained in:
parent
a5198e32a3
commit
755230e2e7
|
|
@ -95,7 +95,7 @@ ISR(TIMER0_OVF_vect) // timer compare interrupt service routine
|
||||||
{
|
{
|
||||||
switch(state){
|
switch(state){
|
||||||
case States::ZERO_START:
|
case States::ZERO_START:
|
||||||
if (bedPWMDisabled) break;
|
if (bedPWMDisabled) return;
|
||||||
pwm = soft_pwm_bed << 1;// expecting soft_pwm_bed to be 7bit!
|
pwm = soft_pwm_bed << 1;// expecting soft_pwm_bed to be 7bit!
|
||||||
if( pwm != 0 ){
|
if( pwm != 0 ){
|
||||||
state = States::ZERO; // do nothing, let it tick once again after the 30Hz period
|
state = States::ZERO; // do nothing, let it tick once again after the 30Hz period
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue