1
0
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:
Scott Lahteine 2016-09-29 01:02:54 -05:00
parent e8f2604a6f
commit 06790977c4

View File

@ -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();