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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();
}