Browse Source

🐛 Fix loud_kill heater disable (#23314)

vanilla_fb_2.0.x
Robby Candra 3 years ago
committed by Scott Lahteine
parent
commit
854ce63358
  1. 2
      Marlin/src/module/temperature.cpp

2
Marlin/src/module/temperature.cpp

@ -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…
Cancel
Save