From 81b9c7c6eeebbeb2c78df7b7b7bc635f0a7bc118 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 28 Sep 2019 21:35:42 -0500 Subject: [PATCH] No motion constraint before homing Sensible approach to soft endstops before the machine is homed. Ref: https://github.com/MarlinFirmware/Marlin/pull/15027#issuecomment-533301094 Co-Authored-By: comps --- 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 928bb65ac..e2351150b 100644 --- a/Marlin/src/module/motion.cpp +++ b/Marlin/src/module/motion.cpp @@ -573,7 +573,7 @@ void restore_feedrate_and_scaling() { */ void apply_motion_limits(float target[XYZ]) { - if (!soft_endstops_enabled) return; + if (!soft_endstops_enabled || !all_axes_homed()) return; #if IS_KINEMATIC