Don't trigger ok timeout while heating or in long running command
Workaround for printers that don't send busy:processing during heatups like they should.
This commit is contained in:
1 parent
e0b0f2ae18
commit
8869748ecc
1 file changed
+5
-1
@@ -1554,7 +1554,11 @@ class MachineCom(object):
|
||||
handled = True
|
||||
|
||||
# process timeouts
|
||||
elif ((line == "" and now > self._timeout) or (self.isPrinting() and not self.isSdPrinting() and not self.job_on_hold and now > self._ok_timeout)) \
|
||||
elif ((line == "" and now > self._timeout) or (self.isPrinting()
|
||||
and not self.isSdPrinting()
|
||||
and not self.job_on_hold
|
||||
and not self._long_running_command
|
||||
and not self._heating and now > self._ok_timeout)) \
|
||||
and (not self._blockWhileDwelling or not self._dwelling_until or now > self._dwelling_until):
|
||||
# We have two timeout variants:
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user