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

+5
View File
@@ -1299,6 +1299,11 @@ void Planner::check_axes_activity() {
#endif // PLANNER_LEVELING
/**
* Block until all buffered steps are executed / cleaned
*/
void Planner::synchronize() { while (has_blocks_queued() || stepper.cleaning_buffer_counter) idle(); }
/**
* Planner::_buffer_steps
*