Revert "Fast PWM for bed - newer set HEATER_BED_PIN to 1"
This reverts commit 50bcfae183
.
This commit is contained in:
parent
31236e411e
commit
ab2a25cd3f
1 changed files with 2 additions and 2 deletions
|
@ -1606,7 +1606,7 @@ ISR(TIMER0_COMPB_vect)
|
|||
#endif
|
||||
#if defined(HEATER_BED_PIN) && HEATER_BED_PIN > -1
|
||||
soft_pwm_b = soft_pwm_bed;
|
||||
//if(soft_pwm_b > 0) WRITE(HEATER_BED_PIN,1); else WRITE(HEATER_BED_PIN,0);
|
||||
if(soft_pwm_b > 0) WRITE(HEATER_BED_PIN,1); else WRITE(HEATER_BED_PIN,0);
|
||||
#endif
|
||||
}
|
||||
#ifdef FAN_SOFT_PWM
|
||||
|
@ -1743,7 +1743,7 @@ ISR(TIMER0_COMPB_vect)
|
|||
state_timer_heater_b = MIN_STATE_TIME;
|
||||
}
|
||||
state_heater_b = 1;
|
||||
//WRITE(HEATER_BED_PIN, 1);
|
||||
WRITE(HEATER_BED_PIN, 1);
|
||||
}
|
||||
} else {
|
||||
// turn OFF heather only if the minimum time is up
|
||||
|
|
Loading…
Reference in a new issue