Move Stepper::synchronize to Planner (#10713)

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
This commit is contained in:
Scott Lahteine
2018-05-12 01:38:02 -05:00
committed by GitHub
parent f2e3c9896e
commit 306f0f2135
33 changed files with 72 additions and 73 deletions

View File

@@ -171,7 +171,7 @@ void GcodeSuite::G28(const bool always_home_all) {
#endif
// Wait for planner moves to finish!
stepper.synchronize();
planner.synchronize();
// Cancel the active G29 session
#if ENABLED(PROBE_MANUALLY)

View File

@@ -85,7 +85,7 @@ void ac_setup(const bool reset_bed) {
tool_change(0, 0, true);
#endif
stepper.synchronize();
planner.synchronize();
setup_for_endstop_or_probe_move();
#if HAS_LEVELING