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>
This commit is contained in:
Kevin O'Connor 2017-09-13 12:06:08 -04:00
parent f1c2f789b6
commit b9586bad18
3 changed files with 4 additions and 4 deletions

View file

@ -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: