menu: don't home if printer is already homed

Signed-off-by: Jeff Perando <jeffperando@gmail.com>
This commit is contained in:
Jeff Perando 2026-02-06 05:27:24 -08:00
parent 8cdeb15572
commit 1cd36ec0fd

View file

@ -712,7 +712,9 @@ name: Begin probe calibration
enable: {('probe' in printer) or ('bltouch' in printer)}
gcode:
ABORT
G28
{% if 'z' not in printer.toolhead.homed_axes %}
G28
{% endif %}
PROBE_CALIBRATE
[menu __main __setup __calib __offsetz __begin_endstop]
@ -721,7 +723,9 @@ name: Begin Z-endstop calibration
enable: {('position_endstop' in printer.configfile.config.stepper_z)}
gcode:
ABORT
G28
{% if 'z' not in printer.toolhead.homed_axes %}
G28
{% endif %}
Z_ENDSTOP_CALIBRATE
[menu __main __setup __calib __offsetz __test]