mirror of
https://github.com/andreili/klipper.git
synced 2025-08-24 03:44:06 +02:00
gcode: Don't wait for moves to finish if both debug input and output
Don't wait for moves to finish if the output is going to a debug file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c6231a16e3
commit
7bf0ec2fe7
@ -140,6 +140,7 @@ class GCodeParser:
|
|||||||
if not data and self.is_fileinput:
|
if not data and self.is_fileinput:
|
||||||
self.motor_heater_off()
|
self.motor_heater_off()
|
||||||
if self.toolhead is not None:
|
if self.toolhead is not None:
|
||||||
|
if not self.printer.mcu.is_fileoutput():
|
||||||
self.toolhead.wait_moves()
|
self.toolhead.wait_moves()
|
||||||
self.printer.request_exit('exit_eof')
|
self.printer.request_exit('exit_eof')
|
||||||
self.is_processing_data = False
|
self.is_processing_data = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user