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
|
|
@ -1606,7 +1606,7 @@ ISR(TIMER0_COMPB_vect)
|
||||||
#endif
|
#endif
|
||||||
#if defined(HEATER_BED_PIN) && HEATER_BED_PIN > -1
|
#if defined(HEATER_BED_PIN) && HEATER_BED_PIN > -1
|
||||||
soft_pwm_b = soft_pwm_bed;
|
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
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef FAN_SOFT_PWM
|
#ifdef FAN_SOFT_PWM
|
||||||
|
|
@ -1743,7 +1743,7 @@ ISR(TIMER0_COMPB_vect)
|
||||||
state_timer_heater_b = MIN_STATE_TIME;
|
state_timer_heater_b = MIN_STATE_TIME;
|
||||||
}
|
}
|
||||||
state_heater_b = 1;
|
state_heater_b = 1;
|
||||||
//WRITE(HEATER_BED_PIN, 1);
|
WRITE(HEATER_BED_PIN, 1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// turn OFF heather only if the minimum time is up
|
// turn OFF heather only if the minimum time is up
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue