🐛 Fix loud_kill heater disable (#23314)

This commit is contained in:
Robby Candra 2021-12-19 05:33:21 +07:00 committed by Scott Lahteine
parent 170f77fada
commit 854ce63358

View file

@ -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) {
marlin_state = MF_KILLED;
#if USE_BEEPER
thermalManager.disable_all_heaters();
#if USE_BEEPER
for (uint8_t i = 20; i--;) {
WRITE(BEEPER_PIN, HIGH);
delay(25);