🐛 Fix loud_kill heater disable (#23314)
This commit is contained in:
parent
b16b1d1fc7
commit
b4727411d5
|
@ -983,8 +983,8 @@ int16_t Temperature::getHeaterPower(const heater_id_t heater_id) {
|
||||||
|
|
||||||
inline void loud_kill(FSTR_P const lcd_msg, const heater_id_t heater_id) {
|
inline void loud_kill(FSTR_P const lcd_msg, const heater_id_t heater_id) {
|
||||||
marlin_state = MF_KILLED;
|
marlin_state = MF_KILLED;
|
||||||
|
thermalManager.disable_all_heaters();
|
||||||
#if USE_BEEPER
|
#if USE_BEEPER
|
||||||
thermalManager.disable_all_heaters();
|
|
||||||
for (uint8_t i = 20; i--;) {
|
for (uint8_t i = 20; i--;) {
|
||||||
WRITE(BEEPER_PIN, HIGH);
|
WRITE(BEEPER_PIN, HIGH);
|
||||||
delay(25);
|
delay(25);
|
||||||
|
|
Loading…
Reference in a new issue