Move some Stepper methods to Planner (#10719)

This commit is contained in:
Scott Lahteine
2018-05-12 09:29:17 -05:00
committed by GitHub
parent 8c81e6341a
commit ea353c3df6
12 changed files with 139 additions and 136 deletions

View File

@@ -559,7 +559,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);
}