Add M524 to abort SD printing (#12155)

This commit is contained in:
TheSFReader
2018-10-19 21:25:07 +02:00
committed by Scott Lahteine
parent d26d9d5b81
commit 1fb9b299d4
9 changed files with 23 additions and 21 deletions

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