Always make sure to (re)set file position to the beginning when starting SD card prints
Closes #780
(cherry picked from commit 5c35a28)
This commit is contained in:
parent
4fede5a9c6
commit
89d972ff40
1 changed files with 2 additions and 3 deletions
|
|
@ -390,9 +390,8 @@ class MachineCom(object):
|
|||
})
|
||||
|
||||
if self.isSdFileSelected():
|
||||
if wasPaused:
|
||||
self.sendCommand("M26 S0")
|
||||
self._currentFile.setFilepos(0)
|
||||
self.sendCommand("M26 S0")
|
||||
self._currentFile.setFilepos(0)
|
||||
self.sendCommand("M24")
|
||||
else:
|
||||
self._sendNext()
|
||||
|
|
|
|||
Loading…
Reference in a new issue