diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-03-11 00:22:44 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-03-11 00:49:11 -0500 |
commit | 5208fc38edc7e62958bfc51de7918351b888b408 (patch) | |
tree | 78837f8929048a871af75f23d1837afac535175b /klippy/heater.py | |
parent | b549c3927e292a33188b46d22fc67ab48b6b790a (diff) | |
download | kutter-5208fc38edc7e62958bfc51de7918351b888b408.tar.gz kutter-5208fc38edc7e62958bfc51de7918351b888b408.tar.xz kutter-5208fc38edc7e62958bfc51de7918351b888b408.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/heater.py')
-rw-r--r-- | klippy/heater.py | 2 |
1 files changed, 2 insertions, 0 deletions
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. |