Leverage the capability of aborting a move on just one axis

pull/120/head
D.R.racer 2021-09-07 14:49:26 +02:00 committed by DRracer
parent b1b5b9db84
commit a6800d491d
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {