Slight size reduction by adding idle()
This commit is contained in:
@ -1046,14 +1046,10 @@ void st_init() {
|
||||
}
|
||||
|
||||
|
||||
// Block until all buffered steps are executed
|
||||
void st_synchronize() {
|
||||
while (blocks_queued()) {
|
||||
manage_heater();
|
||||
manage_inactivity();
|
||||
lcd_update();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Block until all buffered steps are executed
|
||||
*/
|
||||
void st_synchronize() { while (blocks_queued()) idle(); }
|
||||
|
||||
void st_set_position(const long &x, const long &y, const long &z, const long &e) {
|
||||
CRITICAL_SECTION_START;
|
||||
|
Reference in New Issue
Block a user