aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-03-12 14:36:45 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-03-12 14:36:45 -0400
commite336c24665ff047253187bfcf21ae5a7dcbf991e (patch)
tree4ce4b8d3acb619fea5ae650076361481d30be4f8 /klippy
parent849f4ed25f1d1a762ee283572faed4b1c2994488 (diff)
downloadkutter-e336c24665ff047253187bfcf21ae5a7dcbf991e.tar.gz
kutter-e336c24665ff047253187bfcf21ae5a7dcbf991e.tar.xz
kutter-e336c24665ff047253187bfcf21ae5a7dcbf991e.zip
heater: Allow min_temp to go below zero
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy')
-rw-r--r--klippy/heater.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/heater.py b/klippy/heater.py
index 0e854db7..7d746d22 100644
--- a/klippy/heater.py
+++ b/klippy/heater.py
@@ -109,7 +109,7 @@ class PrinterHeater:
self.name = config.get_name()
sensor_params = config.getchoice('sensor_type', Sensors)
self.sensor = sensor_params['class'](config, sensor_params)
- self.min_temp = config.getfloat('min_temp', minval=0.)
+ self.min_temp = config.getfloat('min_temp', minval=KELVIN_TO_CELCIUS)
self.max_temp = config.getfloat('max_temp', above=self.min_temp)
self.min_extrude_temp = config.getfloat(
'min_extrude_temp', 170., minval=self.min_temp, maxval=self.max_temp)