Un-pause on print cancellation (#9779)

This commit is contained in:
Scott Lahteine
2018-02-23 13:42:21 -06:00
committed by GitHub
parent 0d9d11a2d5
commit 742733d714
4 changed files with 6 additions and 1 deletions

View File

@@ -296,6 +296,9 @@ void CardReader::startFileprint() {
}
void CardReader::stopSDPrint() {
#if ENABLED(ADVANCED_PAUSE_FEATURE)
did_pause_print = 0;
#endif
sdprinting = false;
if (isFileOpen()) file.close();
}