瀏覽代碼

🐛 Fix loud_kill heater disable (#23314)

Robby Candra 3 年之前
父節點
當前提交
b4727411d5
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/module/temperature.cpp

+ 1
- 1
Marlin/src/module/temperature.cpp 查看文件

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

Loading…
取消
儲存