Slight size reduction by adding idle()

This commit is contained in:
Scott Lahteine
2015-05-26 20:08:21 -07:00
parent 97a48e36e9
commit d76a01194d
4 changed files with 27 additions and 47 deletions

View File

@ -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;