Move Stepper::synchronize to Planner (#10713)

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

No files matched your search

+1 -1
View File
@@ -570,7 +570,7 @@ uint16_t max_display_update_time = 0;
no_reentry = true;
const screenFunc_t old_screen = currentScreen;
lcd_goto_screen(_lcd_synchronize);
stepper.synchronize(); // idle() is called until moves complete
planner.synchronize(); // idle() is called until moves complete
no_reentry = false;
lcd_goto_screen(old_screen);
}