Explorar el Código

Allow M524 between M23 and M24

Scott Lahteine hace 3 años
padre
commit
d2741c8680
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      Marlin/src/gcode/sd/M524.cpp

+ 2
- 0
Marlin/src/gcode/sd/M524.cpp Ver fichero

@@ -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
 

Loading…
Cancelar
Guardar