mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Use updated position methods
This commit is contained in:
parent
e8f2604a6f
commit
06790977c4
@ -3706,8 +3706,8 @@ inline void gcode_G28() {
|
||||
get_cartesian_from_steppers();
|
||||
memcpy(current_position, cartes, sizeof(cartes));
|
||||
|
||||
// Inform the planner about the new coordinates
|
||||
SYNC_PLAN_POSITION_KINEMATIC();
|
||||
// Sync the planner to where the steppers stopped
|
||||
planner.sync_from_steppers();
|
||||
}
|
||||
|
||||
setup_for_endstop_or_probe_move();
|
||||
|
Loading…
Reference in New Issue
Block a user