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:
parent
01bedd17c9
commit
c36226c4dc
@ -1596,6 +1596,7 @@ static void homeaxis(AxisEnum axis) {
|
|||||||
|
|
||||||
// Set the axis position to its home position (plus home offsets)
|
// Set the axis position to its home position (plus home offsets)
|
||||||
axis_is_at_home(axis);
|
axis_is_at_home(axis);
|
||||||
|
sync_plan_position();
|
||||||
|
|
||||||
destination[axis] = current_position[axis];
|
destination[axis] = current_position[axis];
|
||||||
feedrate = 0.0;
|
feedrate = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user