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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Marlin/ConfigurationStore.h b/Marlin/ConfigurationStore.h index 06801aee8..db99f5b07 100644 --- a/Marlin/ConfigurationStore.h +++ b/Marlin/ConfigurationStore.h @@ -2,22 +2,22 @@ #define CONFIG_STORE_H #include "Configuration.h" + +void Config_ResetDefault(); + +#ifdef EEPROM_CHITCHAT +void Config_PrintSettings(); +#else +FORCE_INLINE void Config_PrintSettings() {} +#endif #ifdef EEPROM_SETTINGS void Config_StoreSettings(); void Config_RetrieveSettings(); #else FORCE_INLINE void Config_StoreSettings() {} -FORCE_INLINE void Config_RetrieveSettings() {} +FORCE_INLINE void Config_RetrieveSettings() { Config_ResetDefault(); Config_PrintSettings(); } #endif - -#ifdef EEPROM_CHITCHAT -void Config_PrintSettings(); -#else -FORCE_INLINE void Config_PrintSettings() {} -#endif - -void Config_ResetDefault(); #endif