Optimise manage_inactivity call in loop()
Saves 12 bytes of flash
This commit is contained in:
parent
8e72470afc
commit
33a0a58810
|
|
@ -1940,7 +1940,7 @@ void loop()
|
||||||
}
|
}
|
||||||
//check heater every n milliseconds
|
//check heater every n milliseconds
|
||||||
manage_heater();
|
manage_heater();
|
||||||
isPrintPaused ? manage_inactivity(true) : manage_inactivity(false);
|
manage_inactivity(isPrintPaused);
|
||||||
checkHitEndstops();
|
checkHitEndstops();
|
||||||
lcd_update(0);
|
lcd_update(0);
|
||||||
#ifdef TMC2130
|
#ifdef TMC2130
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue