mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-15 09:46:04 +01:00
thermocouple: Add initial support for common SPI temperature sensing chips
Signed-off-by: Petri Honkala <cruwaller@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -243,6 +243,7 @@ class PrinterHeaters:
|
||||
def setup_sensor(self, config):
|
||||
self.printer.try_load_module(config, "thermistor")
|
||||
self.printer.try_load_module(config, "adc_temperature")
|
||||
self.printer.try_load_module(config, "spi_temperature")
|
||||
sensor_type = config.get('sensor_type')
|
||||
if sensor_type not in self.sensors:
|
||||
raise self.printer.config_error("Unknown temperature sensor '%s'" % (
|
||||
|
||||
Reference in New Issue
Block a user