heater: add support for BME280
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
774371d78d
commit
2159f398ea
|
@ -259,6 +259,7 @@ class PrinterHeaters:
|
||||||
self.printer.try_load_module(config, "thermistor")
|
self.printer.try_load_module(config, "thermistor")
|
||||||
self.printer.try_load_module(config, "adc_temperature")
|
self.printer.try_load_module(config, "adc_temperature")
|
||||||
self.printer.try_load_module(config, "spi_temperature")
|
self.printer.try_load_module(config, "spi_temperature")
|
||||||
|
self.printer.try_load_module(config, "bme280")
|
||||||
sensor_type = config.get('sensor_type')
|
sensor_type = config.get('sensor_type')
|
||||||
if sensor_type not in self.sensor_factories:
|
if sensor_type not in self.sensor_factories:
|
||||||
raise self.printer.config_error(
|
raise self.printer.config_error(
|
||||||
|
|
Loading…
Reference in New Issue