🐛 treat pausing as paused for resume handling
See MarlinFirmware/Marlin#13039 and #2955
This commit is contained in:
1 parent
e67f72ce3d
commit
c6b4eee437
1 file changed
+1
-1
@@ -1295,7 +1295,7 @@ class MachineCom(object):
|
||||
tags = set()
|
||||
|
||||
with self._jobLock:
|
||||
if not pause and self.isPaused():
|
||||
if not pause and self._state in (self.STATE_PAUSED, self.STATE_PAUSING):
|
||||
if self._pauseWaitStartTime:
|
||||
self._pauseWaitTimeLost = self._pauseWaitTimeLost + (time.time() - self._pauseWaitStartTime)
|
||||
self._pauseWaitStartTime = None
|
||||
|
||||
Reference in new issue
Block a user