From a6800d491dd673a7cea449f9048a22c9e58d0b01 Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Tue, 7 Sep 2021 14:49:26 +0200 Subject: [PATCH] Leverage the capability of aborting a move on just one axis --- src/modules/movable_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/movable_base.cpp b/src/modules/movable_base.cpp index 142fe55..8106a5d 100644 --- a/src/modules/movable_base.cpp +++ b/src/modules/movable_base.cpp @@ -41,7 +41,7 @@ void MovableBase::PerformMove(config::Axis axis) { void MovableBase::PerformHome(config::Axis axis) { if (mm::motion.StallGuard(axis)) { // we have reached the end of the axis - homed ok - mm::motion.AbortPlannedMoves(true); + mm::motion.AbortPlannedMoves(axis, true); mm::motion.SetMode(axis, mg::globals.MotorsStealth() ? mm::Stealth : mm::Normal); state = Ready; } else if (mm::motion.QueueEmpty(axis)) {