Reset line numbers for sd streaming as well
This commit is contained in:
parent
13098dde00
commit
1a308a1bc7
1 changed files with 1 additions and 0 deletions
|
|
@ -648,6 +648,7 @@ class MachineCom(object):
|
|||
self._currentFile = StreamingGcodeFileInformation(filename, localFilename, remoteFilename)
|
||||
self._currentFile.start()
|
||||
|
||||
self.resetLineNumbers()
|
||||
self.sendCommand("M28 %s" % remoteFilename)
|
||||
eventManager().fire(Events.TRANSFER_STARTED, {"local": localFilename, "remote": remoteFilename})
|
||||
self._callback.on_comm_file_transfer_started(remoteFilename, self._currentFile.getFilesize())
|
||||
|
|
|
|||
Loading…
Reference in a new issue