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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user