aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/verify_heater.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/verify_heater.py')
-rw-r--r--klippy/extras/verify_heater.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/verify_heater.py b/klippy/extras/verify_heater.py
index 2d9d758b..a76646f5 100644
--- a/klippy/extras/verify_heater.py
+++ b/klippy/extras/verify_heater.py
@@ -46,7 +46,7 @@ class HeaterCheck:
reactor.update_timer(self.check_timer, reactor.NEVER)
def check_event(self, eventtime):
temp, target = self.heater.get_temp(eventtime)
- if temp >= target - self.hysteresis:
+ if temp >= target - self.hysteresis or target <= 0.:
# Temperature near target - reset checks
if self.approaching_target and target:
logging.info("Heater %s within range of %.3f",