aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/avrsim.cfg1
-rw-r--r--klippy/heater.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/config/avrsim.cfg b/config/avrsim.cfg
index 774f4f3b..ffd2fa2b 100644
--- a/config/avrsim.cfg
+++ b/config/avrsim.cfg
@@ -58,6 +58,7 @@ pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
+min_extrude_temp: 0
max_temp: 210
[heater_bed]
diff --git a/klippy/heater.py b/klippy/heater.py
index 3797b917..bef1f48c 100644
--- a/klippy/heater.py
+++ b/klippy/heater.py
@@ -29,7 +29,7 @@ class PrinterHeater:
self.thermistor_c = Thermistors.get(config.get('thermistor_type'))
self.pullup_r = config.getfloat('pullup_resistor', 4700.)
self.min_extrude_temp = config.getfloat('min_extrude_temp', 170.)
- self.can_extrude = False
+ self.can_extrude = self.min_extrude_temp <= 0.
self.lock = threading.Lock()
self.last_temp = 0.
self.last_temp_time = 0.