|
@@ -2082,12 +2082,13 @@ static void clean_up_after_endstop_or_probe_move() {
|
2082
|
2082
|
// Clear endstop flags
|
2083
|
2083
|
endstops.hit_on_purpose();
|
2084
|
2084
|
|
2085
|
|
- // Tell the planner where we actually are
|
2086
|
|
- planner.sync_from_steppers();
|
2087
|
|
-
|
2088
|
2085
|
// Get Z where the steppers were interrupted
|
2089
|
2086
|
set_current_from_steppers_for_axis(Z_AXIS);
|
2090
|
2087
|
|
|
2088
|
+ // Tell the planner where we actually are
|
|
2089
|
+ SYNC_PLAN_POSITION_KINEMATIC();
|
|
2090
|
+
|
|
2091
|
+
|
2091
|
2092
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
2092
|
2093
|
if (DEBUGGING(LEVELING)) DEBUG_POS("<<< do_probe_move", current_position);
|
2093
|
2094
|
#endif
|
|
@@ -3819,7 +3820,7 @@ inline void gcode_G28() {
|
3819
|
3820
|
set_current_from_steppers_for_axis(ALL_AXES);
|
3820
|
3821
|
|
3821
|
3822
|
// Sync the planner to where the steppers stopped
|
3822
|
|
- planner.sync_from_steppers();
|
|
3823
|
+ SYNC_PLAN_POSITION_KINEMATIC();
|
3823
|
3824
|
}
|
3824
|
3825
|
|
3825
|
3826
|
setup_for_endstop_or_probe_move();
|