From 71efcfc648ba1eae643d64e15b29e3e1edbc19f4 Mon Sep 17 00:00:00 2001 From: daid303 Date: Thu, 8 Nov 2012 21:08:05 +0100 Subject: [PATCH] Most likely fixing issue #295. --- Marlin/ConfigurationStore.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Marlin/ConfigurationStore.h b/Marlin/ConfigurationStore.h index 06801aee88..db99f5b07e 100644 --- a/Marlin/ConfigurationStore.h +++ b/Marlin/ConfigurationStore.h @@ -2,22 +2,22 @@ #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 + +void Config_ResetDefault(); #ifdef EEPROM_CHITCHAT void Config_PrintSettings(); #else FORCE_INLINE void Config_PrintSettings() {} #endif - -void Config_ResetDefault(); + +#ifdef EEPROM_SETTINGS +void Config_StoreSettings(); +void Config_RetrieveSettings(); +#else +FORCE_INLINE void Config_StoreSettings() {} +FORCE_INLINE void Config_RetrieveSettings() { Config_ResetDefault(); Config_PrintSettings(); } +#endif #endif