Browse Source

Fix homing Z position

Add `sync_plan_position()` after `axis_is_at_home(axis)` to keep the
planner position in sync when homing.
Scott Lahteine 10 years ago
parent
commit
c36226c4dc
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp View File

@@ -1596,6 +1596,7 @@ static void homeaxis(AxisEnum axis) {
1596 1596
 
1597 1597
     // Set the axis position to its home position (plus home offsets)
1598 1598
     axis_is_at_home(axis);
1599
+    sync_plan_position();
1599 1600
 
1600 1601
     destination[axis] = current_position[axis];
1601 1602
     feedrate = 0.0;

Loading…
Cancel
Save