optimisation: compiler should not inline SetFilamentLoaded
Change in memory: Flash: -130 bytes SRAM: 0 bytespull/243/head
parent
eba2c298d1
commit
2f6e364ad0
|
|
@ -44,7 +44,7 @@ public:
|
|||
/// Sets the filament loaded flag value, usually after some command/operation.
|
||||
/// Also updates the EEPROM records accordingly
|
||||
/// @param newFilamentLoaded new state
|
||||
void SetFilamentLoaded(uint8_t slot, FilamentLoadState newFilamentLoaded);
|
||||
void __attribute__((noinline)) SetFilamentLoaded(uint8_t slot, FilamentLoadState newFilamentLoaded);
|
||||
|
||||
/// @returns the total number of MMU errors so far
|
||||
/// Errors are stored in the EEPROM
|
||||
|
|
|
|||
Loading…
Reference in New Issue