diff --git a/printer.cfg b/printer.cfg index 6c093fc..d2bffe1 100644 --- a/printer.cfg +++ b/printer.cfg @@ -487,11 +487,11 @@ gcode: {% set ACTUAL_TEMP = printer.extruder.temperature %} {% if ACTUAL_TEMP > PROBE_TEMP %} - M106 S255 - M109 S{ PROBE_TEMP } - M106 S0 + M106 S255 + M109 S{ PROBE_TEMP } + M106 S0 {% else %} - M109 S{ PROBE_TEMP } + M109 S{ PROBE_TEMP } {% endif %} ; get nozzle to probing temperture M190 S{ params.BED | float } ; wait for bed to reach temperture @@ -501,7 +501,15 @@ gcode: {% if params.QGL is defined and params.QGL == "NO" %} G28 {% else %} - G32 + ; Is QGL applied already? + {% if printer.quad_gantry_level.applied %} + ; QGL is applied, so just home the axis + G28 + PARK_NOZZLE_REAR + {% else %} + ; QGL is not applied, so home the axis and apply QGL and calibrate the mesh + G32 + {% endif %} {% endif %} G1 Z20 F3000 ; move nozzle away from bed M109 S{ params.EXTRUDER | float } ; wait for nozzle to reach temperture