Optimise manage_inactivity call in loop()

Saves 12 bytes of flash
This commit is contained in:
Guðni Már Gilbert 2022-04-30 13:59:04 +00:00
parent 8e72470afc
commit 33a0a58810
1 changed files with 1 additions and 1 deletions

View File

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