diff options
Diffstat (limited to 'test/klippy/macros.cfg')
-rw-r--r-- | test/klippy/macros.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/klippy/macros.cfg b/test/klippy/macros.cfg index e4c9ba16..5604b507 100644 --- a/test/klippy/macros.cfg +++ b/test/klippy/macros.cfg @@ -73,7 +73,7 @@ gcode: [gcode_macro TEST_expression] gcode: - {% if printer.gcode.gcode_position.x != 0.0 %} + {% if printer.gcode_move.gcode_position.x != 0.0 %} M112 {% else %} { action_respond_info("TEST_expression") } @@ -108,7 +108,7 @@ gcode: [gcode_macro TEST_in] gcode: - {% if "abc" in printer or "gcode" not in printer %} + {% if "abc" in printer or "toolhead" not in printer %} M112 {% endif %} |