chiark / gitweb /
Do not spam M105 when heating up extruder/bed finishes
[cura.git] / Cura / util / machineCom.py
index d1327d133bb34f199439ddf96bc5dc9bbb0aba1e..0627af821546d08490927771b2622286235d1b25 100644 (file)
@@ -380,6 +380,7 @@ class MachineCom(object):
                                                self._errorValue = line[6:]
                                                self._changeState(self.STATE_ERROR)
                        if ' T:' in line or line.startswith('T:'):
+                               tempRequestTimeout = time.time() + 5
                                try:
                                        self._temp[self._temperatureRequestExtruder] = float(re.search("T: *([0-9\.]*)", line).group(1))
                                except: