Browse Source

Don't inline fSetMmuMode

Saves 8 bytes of flash
Guðni Már Gilbert 1 year ago
parent
commit
4c27d057b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Firmware/util.cpp

+ 1 - 1
Firmware/util.cpp

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