Skip to content

Commit

Permalink
feat(macros): ✨ Add support for smart_effector
Browse files Browse the repository at this point in the history
Adds support for smart_effector in GET_PROBE_LIMITS macros
  • Loading branch information
rootiest committed Mar 3, 2024
1 parent 26ab35a commit f8d7998
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extras/GET_POSITION_STATS.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ gcode:
# probe section found
{% set probe = config["beacon"] %}
{% set has_probe = True %}
{% elif config["smart_effector"] %}
# smart_effector probe section found
{% set probe = config["smart_effector"] %}
{% set has_probe = True %}
{% else %}
# No probe or bltouch sections found
RESPOND MSG="Failed to detect probe in configfile"
Expand Down
4 changes: 4 additions & 0 deletions guides/resources/GET_PROBE_LIMITS.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ gcode:
# probe section found
{% set probe = config["beacon"] %}
{% set has_probe = True %}
{% elif config["smart_effector"] %}
# smart_effector probe section found
{% set probe = config["smart_effector"] %}
{% set has_probe = True %}
{% else %}
# No probe or bltouch sections found
RESPOND MSG="Failed to detect probe in configfile"
Expand Down
4 changes: 4 additions & 0 deletions macros/GET_PROBE_LIMITS.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ gcode:
# probe section found
{% set probe = config["beacon"] %}
{% set has_probe = True %}
{% elif config["smart_effector"] %}
# smart_effector probe section found
{% set probe = config["smart_effector"] %}
{% set has_probe = True %}
{% else %}
# No probe or bltouch sections found
RESPOND MSG="Failed to detect probe in configfile"
Expand Down

0 comments on commit f8d7998

Please sign in to comment.