diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-23 21:32:26 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-23 21:32:26 -0400 |
commit | 7bf0ec2fe7ee1d2557946afa602eea378a712091 (patch) | |
tree | 8d86b2f8b4ae5f4bfb2720f5a0dd76eb819e01f6 | |
parent | c6231a16e38a5619448a636be2d08498ac20fc8b (diff) | |
download | kutter-7bf0ec2fe7ee1d2557946afa602eea378a712091.tar.gz kutter-7bf0ec2fe7ee1d2557946afa602eea378a712091.tar.xz kutter-7bf0ec2fe7ee1d2557946afa602eea378a712091.zip |
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>
-rw-r--r-- | klippy/gcode.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py index 4b4ac382..a60c1555 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -140,7 +140,8 @@ class GCodeParser: if not data and self.is_fileinput: self.motor_heater_off() if self.toolhead is not None: - self.toolhead.wait_moves() + if not self.printer.mcu.is_fileoutput(): + self.toolhead.wait_moves() self.printer.request_exit('exit_eof') self.is_processing_data = False if self.fd_handle is None: |