From d7a1dab71d747a5caf14589df13214c51c2feff6 Mon Sep 17 00:00:00 2001 From: DerAndere <26200979+DerAndere1@users.noreply.github.com> Date: Sun, 13 Oct 2024 22:19:37 +0200 Subject: [PATCH] Fix more compilation errors with SPINDLE_FEATURE --- Marlin/src/module/motion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp index 1eba6e4f171c..f51550d49eab 100644 --- a/Marlin/src/module/motion.cpp +++ b/Marlin/src/module/motion.cpp @@ -1938,7 +1938,7 @@ float get_move_distance(const xyze_pos_t &diff OPTARG(HAS_ROTATIONAL_AXES, bool } // Fail if attempting move outside printable radius - #if ANY(PENTA_AXIS_TRT, PENTA_AXIS_HT) + #if ANY(PENTA_AXIS_TRT, PENTA_AXIS_HT) && ENABLED(ABORT_ON_SOFTWARE_ENDSTOP) // Abort if attempting move outside printable radius if (!position_is_reachable(destination)) { SERIAL_ERROR_MSG("Position not reachable.");