ソースを参照

Allow M524 between M23 and M24

Scott Lahteine 3年前
コミット
d2741c8680
1個のファイルの変更2行の追加0行の削除
  1. 2
    0
      Marlin/src/gcode/sd/M524.cpp

+ 2
- 0
Marlin/src/gcode/sd/M524.cpp ファイルの表示

@@ -34,6 +34,8 @@ void GcodeSuite::M524() {
34 34
 
35 35
   if (IS_SD_PRINTING())
36 36
     card.flag.abort_sd_printing = true;
37
+  else if (card.isMounted())
38
+    card.closefile();
37 39
 
38 40
 }
39 41
 

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