From 5208fc38edc7e62958bfc51de7918351b888b408 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 11 Mar 2018 00:22:44 -0500 Subject: verify_heater: Add initial support for verifying heaters and sensors Add runtime checks to heaters and temperature sensors to check for possible hardware faults. Signed-off-by: Kevin O'Connor --- klippy/heater.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/heater.py') diff --git a/klippy/heater.py b/klippy/heater.py index d3315a52..0e854db7 100644 --- a/klippy/heater.py +++ b/klippy/heater.py @@ -141,6 +141,8 @@ class PrinterHeater: # pwm caching self.next_pwm_time = 0. self.last_pwm_value = 0. + # Load verify_heater module + printer.try_load_module(config, "verify_heater %s" % (self.name,)) def set_pwm(self, read_time, value): if self.target_temp <= 0.: value = 0. -- cgit v1.2.3-70-g09d2