Fix the EEPROM storage, no longer inline it at multiple locations, and remove the template.
This commit is contained in:
parent
5a998558a9
commit
12a4d60e18
4 changed files with 36 additions and 244 deletions
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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue