Added conditional homing macro.

This commit is contained in:
Bassam Husain
2022-12-25 22:29:04 -05:00
parent abe071f369
commit e35bafa53c

View File

@@ -275,3 +275,9 @@ gcode:
BASE_RESUME ; resume print
{% endif %}
[gcode_macro _CG28]
# Conditional homing
gcode:
{% if "xyz" not in printer.toolhead.homed_axes %}
G28
{% endif %}