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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
}