mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
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)
|
||||
axis_is_at_home(axis);
|
||||
sync_plan_position();
|
||||
|
||||
destination[axis] = current_position[axis];
|
||||
feedrate = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user