Fix: Also process temperature responses that only contain bed temperatures

This commit is contained in:
Gina Häußge 2015-04-28 16:31:10 +02:00
parent 4944c33228
commit 3aa882ee21

View file

@ -866,7 +866,7 @@ class MachineCom(object):
self._blocking_command = False
##~~ Temperature processing
if ' T:' in line or line.startswith('T:') or ' T0:' in line or line.startswith('T0:'):
if ' T:' in line or line.startswith('T:') or ' T0:' in line or line.startswith('T0:') or ' B:' in line or line.startswith('B:'):
if not disable_external_heatup_detection and not line.strip().startswith("ok") and not self._heating:
self._logger.debug("Externally triggered heatup detected")
self._heating = True