🐛 Fix loud_kill heater disable (#23314)
This commit is contained in:
parent
170f77fada
commit
854ce63358
|
@ -953,8 +953,8 @@ int16_t Temperature::getHeaterPower(const heater_id_t heater_id) {
|
||||||
|
|
||||||
inline void loud_kill(PGM_P const lcd_msg, const heater_id_t heater_id) {
|
inline void loud_kill(PGM_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