Skip to content

Commit

Permalink
MACRO: check for DC before setting idex mode in beacon calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Nov 25, 2024
1 parent 471e28f commit 00251bd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions z-probe/beacon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ gcode:
{% set speed = printer["gcode_macro RatOS"].macro_travel_speed * 60 %}

# activate IDEX default
_IDEX_SINGLE INIT=1
{% if printer["dual_carriage"] is defined %}
_IDEX_SINGLE INIT=1
{% endif %}

# home x and y axis if not homed already
MAYBE_HOME X=True Y=True
Expand Down Expand Up @@ -824,7 +826,9 @@ gcode:
{% else %}

# activate IDEX default
_IDEX_SINGLE INIT=1
{% if printer["dual_carriage"] is defined %}
_IDEX_SINGLE INIT=1
{% endif %}

# home the printer if needed
MAYBE_HOME
Expand Down Expand Up @@ -947,7 +951,9 @@ gcode:
[gcode_macro _BEACON_HOME_AND_ABL]
gcode:
# activate IDEX default
_IDEX_SINGLE INIT=1
{% if printer["dual_carriage"] is defined %}
_IDEX_SINGLE INIT=1
{% endif %}

# home X/Y if not homed already
MAYBE_HOME X=True Y=True
Expand Down

0 comments on commit 00251bd

Please sign in to comment.