ソースを参照

✏️ Followup for M524 (#24775)

Followup to #24761
ellensp 1年前
コミット
8aa3273242
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更7行の追加5行の削除
  1. 7
    5
      Marlin/src/module/temperature.cpp

+ 7
- 5
Marlin/src/module/temperature.cpp ファイルの表示

@@ -1849,11 +1849,13 @@ void Temperature::task() {
1849 1849
       quickstop_stepper();
1850 1850
     }
1851 1851
 
1852
-    if (emergency_parser.sd_abort_by_M524) { // abort SD print immediately
1853
-      emergency_parser.sd_abort_by_M524 = false;
1854
-      card.flag.abort_sd_printing = true;
1855
-      gcode.process_subcommands_now(F("M524"));
1856
-    }
1852
+    #if ENABLED(SDSUPPORT)
1853
+      if (emergency_parser.sd_abort_by_M524) { // abort SD print immediately
1854
+        emergency_parser.sd_abort_by_M524 = false;
1855
+        card.flag.abort_sd_printing = true;
1856
+        gcode.process_subcommands_now(F("M524"));
1857
+      }
1858
+    #endif
1857 1859
   #endif
1858 1860
 
1859 1861
   if (!updateTemperaturesIfReady()) return; // Will also reset the watchdog if temperatures are ready

読み込み中…
キャンセル
保存