diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-09-13 12:06:08 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-19 17:22:29 -0400 |
commit | b9586bad18971c41bcd0d8b8d8c84e366fa08e51 (patch) | |
tree | d6b429c4b938874a2db6baa751c5a5e38f4826bf /klippy/toolhead.py | |
parent | f1c2f789b65810d258d9f870685acb0c7ee5b8dd (diff) | |
download | kutter-b9586bad18971c41bcd0d8b8d8c84e366fa08e51.tar.gz kutter-b9586bad18971c41bcd0d8b8d8c84e366fa08e51.tar.xz kutter-b9586bad18971c41bcd0d8b8d8c84e366fa08e51.zip |
mcu: Use is_fileoutput() externally
Use mcu.is_fileoutput() instead of looking up the "debugoutput" flag
in the start args.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r-- | klippy/toolhead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index c567213c..95ee2b3d 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -356,7 +356,7 @@ class ToolHead: logging.debug('; Max time of %f' % (last_move_time,)) def wait_moves(self): self._flush_lookahead() - if self.printer.get_start_args().get('debugoutput') is not None: + if self.mcu.is_fileoutput(): return eventtime = self.reactor.monotonic() while self.print_time: |