ConfigurationStore.h 472 B

12345678910111213141516171819202122
  1. #ifndef CONFIG_STORE_H
  2. #define CONFIG_STORE_H
  3. #include "Configuration.h"
  4. void Config_ResetDefault();
  5. #ifndef DISABLE_M503
  6. void Config_PrintSettings();
  7. #else
  8. FORCE_INLINE void Config_PrintSettings() {}
  9. #endif
  10. #ifdef EEPROM_SETTINGS
  11. void Config_StoreSettings();
  12. void Config_RetrieveSettings();
  13. #else
  14. FORCE_INLINE void Config_StoreSettings() {}
  15. FORCE_INLINE void Config_RetrieveSettings() { Config_ResetDefault(); Config_PrintSettings(); }
  16. #endif
  17. #endif//CONFIG_STORE_H