Browse Source

Use updated position methods

Scott Lahteine 8 years ago
parent
commit
06790977c4
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -3706,8 +3706,8 @@ inline void gcode_G28() {
3706 3706
       get_cartesian_from_steppers();
3707 3707
       memcpy(current_position, cartes, sizeof(cartes));
3708 3708
 
3709
-      // Inform the planner about the new coordinates
3710
-      SYNC_PLAN_POSITION_KINEMATIC();
3709
+      // Sync the planner to where the steppers stopped
3710
+      planner.sync_from_steppers();
3711 3711
     }
3712 3712
 
3713 3713
     setup_for_endstop_or_probe_move();

Loading…
Cancel
Save