aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/temperature_fan.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/temperature_fan.py')
-rw-r--r--klippy/extras/temperature_fan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/temperature_fan.py b/klippy/extras/temperature_fan.py
index d009d251..6fc2893b 100644
--- a/klippy/extras/temperature_fan.py
+++ b/klippy/extras/temperature_fan.py
@@ -5,7 +5,7 @@
# This file may be distributed under the terms of the GNU GPLv3 license.
import fan
-KELVIN_TO_CELCIUS = -273.15
+KELVIN_TO_CELSIUS = -273.15
MAX_FAN_TIME = 5.0
AMBIENT_TEMP = 25.
PID_PARAM_BASE = 255.
@@ -16,7 +16,7 @@ class TemperatureFan:
self.printer = config.get_printer()
self.fan = fan.PrinterFan(config, default_shutdown_speed=1.)
self.gcode = self.printer.lookup_object('gcode')
- self.min_temp = config.getfloat('min_temp', minval=KELVIN_TO_CELCIUS)
+ self.min_temp = config.getfloat('min_temp', minval=KELVIN_TO_CELSIUS)
self.max_temp = config.getfloat('max_temp', above=self.min_temp)
self.sensor = self.printer.lookup_object('heater').setup_sensor(config)
self.sensor.setup_minmax(self.min_temp, self.max_temp)