aboutsummaryrefslogtreecommitdiffstats
path: root/test/klippy/macros.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/klippy/macros.cfg')
-rw-r--r--test/klippy/macros.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/klippy/macros.cfg b/test/klippy/macros.cfg
index 8124aa3a..e4c9ba16 100644
--- a/test/klippy/macros.cfg
+++ b/test/klippy/macros.cfg
@@ -76,13 +76,13 @@ gcode:
{% if printer.gcode.gcode_position.x != 0.0 %}
M112
{% else %}
- { printer.gcode.action_respond_info("TEST_expression") }
+ { action_respond_info("TEST_expression") }
{% endif %}
[gcode_macro TEST_variable]
variable_t: 12.0
gcode:
- { printer.gcode.action_respond_info("TEST_variable") }
+ { action_respond_info("TEST_variable") }
{% if t - 12.0 != printer.toolhead.position.y %}
M112
{% endif %}
@@ -94,14 +94,14 @@ gcode:
[gcode_macro TEST_variable_part2]
gcode:
- { printer.gcode.action_respond_info("TEST_variable_part2") }
+ { action_respond_info("TEST_variable_part2") }
{% if printer["gcode_macro TEST_variable"].t != 17.0 %}
M112
{% endif %}
[gcode_macro TEST_param]
gcode:
- { printer.gcode.action_respond_info("TEST_param") }
+ { action_respond_info("TEST_param") }
{% if params.T != "123" %}
M112
{% endif %}