Fix homing Z position
Add `sync_plan_position()` after `axis_is_at_home(axis)` to keep the planner position in sync when homing.
This commit is contained in:
1 parent
01bedd17c9
commit
c36226c4dc
1 file changed
+1
@@ -1596,6 +1596,7 @@ static void homeaxis(AxisEnum axis) {
|
||||
|
||||
// Set the axis position to its home position (plus home offsets)
|
||||
axis_is_at_home(axis);
|
||||
sync_plan_position();
|
||||
|
||||
destination[axis] = current_position[axis];
|
||||
feedrate = 0.0;
|
||||
|
||||
Reference in new issue
Block a user