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

View file

@ -1940,7 +1940,7 @@ void loop()
}
//check heater every n milliseconds
manage_heater();
isPrintPaused ? manage_inactivity(true) : manage_inactivity(false);
manage_inactivity(isPrintPaused);
checkHitEndstops();
lcd_update(0);
#ifdef TMC2130