Don't inline fSetMmuMode

Saves 8 bytes of flash
This commit is contained in:
Guðni Már Gilbert 2022-12-03 11:04:47 +00:00 committed by Alex Voinea
parent 074b62361f
commit 4c27d057b8
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ lcd_update_enable(true); // display / status-line recovery
} }
} }
void fSetMmuMode(bool bMMu) { void __attribute__((noinline)) fSetMmuMode(bool bMMu) {
if (bMMu) { if (bMMu) {
nPrinterType = pgm_read_word(&_nPrinterMmuType); nPrinterType = pgm_read_word(&_nPrinterMmuType);
sPrinterName = _sPrinterMmuName; sPrinterName = _sPrinterMmuName;