Slight size reduction by adding idle()
This commit is contained in:
parent
97a48e36e9
commit
d76a01194d
4 changed files with 27 additions and 47 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue