Adjusted PRINT_START bedtempAlmost logic.

This commit is contained in:
Bassam Husain
2023-05-09 17:20:30 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ gcode:
{% set startY = printer.configfile.settings.safe_z_home.home_xy_position[1]|float %}
{% endif %}
{% set bedtempAlmost = (bedtemp - 2, 0)|max %}
{% set bedtempAlmost = ((bedtemp - 2, printer.heater_bed.temperature|int)|max, bedtemp)|min %}
{% set hotendtempStepOne = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 150)|max %}
{% set hotendtempStepTwo = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 170)|max %}

View File

@@ -15,7 +15,7 @@
[mcu]
# NOTE Obtain definition by "ls -l /dev/serial/by-id/"
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0-port0
restart_method: command
[printer]