Closed gudnimg closed 8 months ago
When a print is paused, card.sdprinting is set to false. Instead we can check if the SD card has been mounted and try to close the file.
card.sdprinting
The closefile() method will check internally whether or not the file is open.
closefile()
Regression seems to have been introduced here: 3ad40f02064f1870cdec7fe4d9ce1bd7a2ff6ec0
Steps to reproduce:
All values in bytes. Δ Delta to base
MK3S_MULTILANG
MK3_MULTILANG
When a print is paused,
card.sdprinting
is set to false. Instead we can check if the SD card has been mounted and try to close the file.The
closefile()
method will check internally whether or not the file is open.Regression seems to have been introduced here: 3ad40f02064f1870cdec7fe4d9ce1bd7a2ff6ec0
Steps to reproduce: