Allow M524 between M23 and M24
This commit is contained in:
parent
dd118e2f36
commit
d2741c8680
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue