Browse Source

🐛 Fix loud_kill heater disable (#23314)

Robby Candra 3 years ago
parent
commit
b4727411d5
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/temperature.cpp

+ 1
- 1
Marlin/src/module/temperature.cpp View File

983
 
983
 
984
 inline void loud_kill(FSTR_P const lcd_msg, const heater_id_t heater_id) {
984
 inline void loud_kill(FSTR_P const lcd_msg, const heater_id_t heater_id) {
985
   marlin_state = MF_KILLED;
985
   marlin_state = MF_KILLED;
986
+  thermalManager.disable_all_heaters();
986
   #if USE_BEEPER
987
   #if USE_BEEPER
987
-    thermalManager.disable_all_heaters();
988
     for (uint8_t i = 20; i--;) {
988
     for (uint8_t i = 20; i--;) {
989
       WRITE(BEEPER_PIN, HIGH);
989
       WRITE(BEEPER_PIN, HIGH);
990
       delay(25);
990
       delay(25);

Loading…
Cancel
Save