Fix the EEPROM storage, no longer inline it at multiple locations, and remove the template.
This commit is contained in:
24
Marlin/ConfigurationStore.h
Normal file
24
Marlin/ConfigurationStore.h
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef CONFIG_STORE_H
|
||||
#define CONFIG_STORE_H
|
||||
|
||||
#include "Configuration.h"
|
||||
|
||||
#ifdef EEPROM_SETTINGS
|
||||
void Config_StoreSettings();
|
||||
void Config_RetrieveSettings();
|
||||
#else
|
||||
FORCE_INLINE void Config_StoreSettings() {}
|
||||
FORCE_INLINE void Config_RetrieveSettings() {}
|
||||
#endif
|
||||
|
||||
#ifdef EEPROM_CHITCHAT
|
||||
void Config_PrintSettings();
|
||||
#else
|
||||
FORCE_INLINE void Config_PrintSettings() {}
|
||||
#endif
|
||||
|
||||
void Config_ResetDefault();
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user