You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
546 B
C
23 lines
546 B
C
10 years ago
|
#ifndef CONFIGURATION_STORE_H
|
||
|
#define CONFIGURATION_STORE_H
|
||
12 years ago
|
|
||
|
#include "Configuration.h"
|
||
|
|
||
|
void Config_ResetDefault();
|
||
|
|
||
11 years ago
|
#ifndef DISABLE_M503
|
||
10 years ago
|
void Config_PrintSettings(bool forReplay=false);
|
||
12 years ago
|
#else
|
||
10 years ago
|
FORCE_INLINE void Config_PrintSettings(bool forReplay=false) {}
|
||
12 years ago
|
#endif
|
||
12 years ago
|
|
||
|
#ifdef EEPROM_SETTINGS
|
||
10 years ago
|
void Config_StoreSettings();
|
||
|
void Config_RetrieveSettings();
|
||
12 years ago
|
#else
|
||
10 years ago
|
FORCE_INLINE void Config_StoreSettings() {}
|
||
|
FORCE_INLINE void Config_RetrieveSettings() { Config_ResetDefault(); Config_PrintSettings(); }
|
||
12 years ago
|
#endif
|
||
|
|
||
10 years ago
|
#endif //CONFIGURATION_STORE_H
|