Skip to content

Commit

Permalink
MACRO: fix wrong variable in _VAOC_ENSURE_SAFE_Z_HEIGHT
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Nov 2, 2024
1 parent b8cb762 commit f5c6050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/idex/vaoc.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ gcode:
{% set idex_zoffsetcontrolpoint = svv.idex_zoffsetcontrolpoint|default(0)|float %}

# echo
DEBUG_ECHO PREFIX="_VAOC_ENSURE_SAFE_Z_HEIGHT" MSG={'"idex_zcontrolpoint: %.6f, idex_zoffsetcontrolpoint: %.6f"' % (idex_xcontrolpoint, idex_zoffsetcontrolpoint)}
DEBUG_ECHO PREFIX="_VAOC_ENSURE_SAFE_Z_HEIGHT" MSG={'"idex_zcontrolpoint: %.6f, idex_zoffsetcontrolpoint: %.6f"' % (idex_zcontrolpoint, idex_zoffsetcontrolpoint)}

{% if safe_z < idex_zcontrolpoint + 2 or safe_z < idex_zoffsetcontrolpoint + 2 %}
{action_raise_error("VAOC safe_z value (%.3f) is too low, it must be higher than %.3f" % (safe_z, [idex_zoffsetcontrolpoint + 2, idex_zcontrolpoint + 2]|max))}
Expand Down

0 comments on commit f5c6050

Please sign in to comment.