From 943d734993b35fa435486695922fe5a868b12e62 Mon Sep 17 00:00:00 2001 From: Richard Mitchell Date: Fri, 1 Mar 2013 22:19:58 +0000 Subject: [PATCH] That was easy enough to continue temp monitoring whilst paused --- octoprint/util/comm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octoprint/util/comm.py b/octoprint/util/comm.py index c8f8d8d..3161084 100644 --- a/octoprint/util/comm.py +++ b/octoprint/util/comm.py @@ -393,8 +393,8 @@ class MachineCom(object): self._changeState(self.STATE_OPERATIONAL) elif time.time() > timeout: self.close() - elif self._state == self.STATE_OPERATIONAL: - #Request the temperature on comm timeout (every 2 seconds) when we are not printing. + elif self._state == self.STATE_OPERATIONAL or self._state == self.STATE_PAUSED: + #Request the temperature on comm timeout (every 5 seconds) when we are not printing. if line == '': self._sendCommand("M105") tempRequestTimeout = time.time() + 5