From 206f237f4fac7689193195a9087142a415143616 Mon Sep 17 00:00:00 2001 From: Chris Krause Date: Wed, 27 Nov 2024 07:12:49 +1100 Subject: [PATCH] change max_temp to wait_temp --- scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner.py b/scanner.py index 0cdc3d6..73711fa 100644 --- a/scanner.py +++ b/scanner.py @@ -1157,7 +1157,7 @@ def check_temp(self, gcmd: GCodeCommand): cmd = f"TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={wait_temp}" self.gcode.run_script_from_command(cmd) else: - if cur_temp > max_temp: + if cur_temp > wait_temp: gcmd.respond_info( "Extruder temperature %.1fC is still too high, waiting until below %.1fC" % (cur_temp, wait_temp)