diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-02-27 11:31:51 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-02-27 11:31:51 -0500 |
commit | c197fdb03d3d54724e862cbf3b472f5434b88dc5 (patch) | |
tree | 8fe2a871cd0e3545ba49c900ef4c2265bdb3adc5 /klippy/extras/temperature_sensor.py | |
parent | 16e59511c3cdda2407c5e840eeedce00f22677de (diff) | |
download | kutter-c197fdb03d3d54724e862cbf3b472f5434b88dc5.tar.gz kutter-c197fdb03d3d54724e862cbf3b472f5434b88dc5.tar.xz kutter-c197fdb03d3d54724e862cbf3b472f5434b88dc5.zip |
heater: Fix misspelling of Celsius
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/temperature_sensor.py')
-rw-r--r-- | klippy/extras/temperature_sensor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klippy/extras/temperature_sensor.py b/klippy/extras/temperature_sensor.py index f2663f35..62b7afef 100644 --- a/klippy/extras/temperature_sensor.py +++ b/klippy/extras/temperature_sensor.py @@ -4,14 +4,14 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. -KELVIN_TO_CELCIUS = -273.15 +KELVIN_TO_CELSIUS = -273.15 class PrinterSensorGeneric: def __init__(self, config): self.printer = config.get_printer() self.sensor = self.printer.lookup_object('heater').setup_sensor(config) - self.min_temp = config.getfloat('min_temp', KELVIN_TO_CELCIUS, - minval=KELVIN_TO_CELCIUS) + self.min_temp = config.getfloat('min_temp', KELVIN_TO_CELSIUS, + minval=KELVIN_TO_CELSIUS) self.max_temp = config.getfloat('max_temp', 99999999.9, above=self.min_temp) self.sensor.setup_minmax(self.min_temp, self.max_temp) |