From 3cf6521df07b64be8fab2e5ca4855f55a54f9d97 Mon Sep 17 00:00:00 2001 From: sokolovjek Date: Wed, 7 Feb 2024 13:32:49 +0000 Subject: [PATCH] STEAPP-899: added check the command ABORT is exist (fix bug 911: Unknown command: ABORT) --- stereotech_config/common/homing_macros.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stereotech_config/common/homing_macros.cfg b/stereotech_config/common/homing_macros.cfg index f4c61e57dc40..739f995475c1 100644 --- a/stereotech_config/common/homing_macros.cfg +++ b/stereotech_config/common/homing_macros.cfg @@ -41,7 +41,9 @@ gcode: SAVE_VARIABLES SAVE_STATE_MODULE {% else %} - ABORT + {% if (printer.manual_probe and printer.manual_probe.is_active) or (printer.bed_screws and printer.bed_screws.is_active) %} + ABORT + {% endif %} {% endif %} {% if printer.probe %} CANCEL_TEST_PROBE