Browse Source

Allow M524 between M23 and M24

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
d2741c8680
  1. 2
      Marlin/src/gcode/sd/M524.cpp

2
Marlin/src/gcode/sd/M524.cpp

@ -34,6 +34,8 @@ void GcodeSuite::M524() {
if (IS_SD_PRINTING()) if (IS_SD_PRINTING())
card.flag.abort_sd_printing = true; card.flag.abort_sd_printing = true;
else if (card.isMounted())
card.closefile();
} }

Loading…
Cancel
Save