From 9d7752a6c54c1b2d0f2f0879723cb349ba114380 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 4 Feb 2021 19:36:57 +0100 Subject: [PATCH] fix: typo in example pause macro --- resources/kiauh_macros.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/kiauh_macros.cfg b/resources/kiauh_macros.cfg index 96e7ad6..3dba40f 100644 --- a/resources/kiauh_macros.cfg +++ b/resources/kiauh_macros.cfg @@ -30,7 +30,7 @@ gcode: {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %} ##### calculate save lift position ##### {% set max_z = printer.toolhead.axis_maximum.z|float %} - {% set act_z = printer.toolhead.position.x|float %} + {% set act_z = printer.toolhead.position.z|float %} {% if act_z < (max_z - 2.0) %} {% set z_safe = 2.0 %} {% else %}