Always make sure to (re)set file position to the beginning when starting SD card prints
Closes #780
This commit is contained in:
1 parent
ad23c88347
commit
5c35a288a3
1 file changed
+2
-3
@@ -407,9 +407,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()
|
||||
|
||||
Reference in new issue
Block a user