Add M524 to abort SD printing (#12155)

This commit is contained in:
TheSFReader authored and Scott Lahteine committed 2018-10-19 14:25:07 -05:00
1 parent d26d9d5b81
commit 1fb9b299d4
9 files changed
+23 -21

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ void CardReader::stopSDPrint(
#if ENABLED(ADVANCED_PAUSE_FEATURE)
did_pause_print = 0;
#endif
sdprinting = false;
sdprinting = abort_sd_printing = false;
if (isFileOpen()) file.close();
#if SD_RESORT
if (re_sort) presort();