Commit 0ecebd9d authored by Guillaume Seguin's avatar Guillaume Seguin

Don't reset ETA estimator when using recover function

parent f190ec86
...@@ -325,7 +325,8 @@ class printcore(): ...@@ -325,7 +325,8 @@ class printcore():
if not gcode.lines: if not gcode.lines:
return True return True
self.clear = False self.clear = False
self.print_thread = Thread(target = self._print) resuming = (startindex != 0)
self.print_thread = Thread(target = self._print, kwargs = {"resuming": resuming})
self.print_thread.start() self.print_thread.start()
return True return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment