1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 22:35:21 +00:00

Allow M524 between M23 and M24

This commit is contained in:
Scott Lahteine 2020-09-27 16:51:59 -05:00
parent 32b854a98b
commit ac0511f02a

View File

@ -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();
} }