gcode: Report the final print_time in debuginput mode
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
1 parent
9213646c63
commit
1f7c3fc8ec
2 files changed
+2
-2
No files matched your search
@@ -675,6 +675,8 @@ class GCodeParser:
|
||||
def request_restart(self, result):
|
||||
if self.is_printer_ready:
|
||||
print_time = self.toolhead.get_last_move_time()
|
||||
if result == 'exit':
|
||||
logging.info("Exiting (print time %.3fs)" % (print_time,))
|
||||
self.printer.send_event("gcode:request_restart", print_time)
|
||||
self.toolhead.dwell(0.500)
|
||||
self.toolhead.wait_moves()
|
||||
|
||||
Reference in new issue
Block a user