Skip to content

Commit

Permalink
change max_temp to wait_temp
Browse files Browse the repository at this point in the history
  • Loading branch information
krautech committed Nov 27, 2024
1 parent 179d9a5 commit 206f237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 206f237

Please sign in to comment.