Merge pull request #4583 from gudnimg/PFW-1553
PFW-1553 fix regression where SD card file is not closed when stopping paused print
This commit is contained in:
commit
e5c5720d03
|
|
@ -5709,7 +5709,7 @@ void print_stop(bool interactive)
|
|||
// called by the main loop one iteration later.
|
||||
UnconditionalStop();
|
||||
|
||||
if (card.sdprinting) {
|
||||
if (card.mounted) {
|
||||
// Reset the sd status
|
||||
card.sdprinting = false;
|
||||
card.closefile();
|
||||
|
|
|
|||
Loading…
Reference in New Issue