From e779641c7382de41fc23466c701499a91c953011 Mon Sep 17 00:00:00 2001 From: clefranc Date: Tue, 27 Jan 2015 13:25:47 -0500 Subject: [PATCH 1/2] Update ConfigurationStore.cpp Added PIDTEMP dummy write to align EEPROM read/write operation. --- Marlin/ConfigurationStore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/ConfigurationStore.cpp b/Marlin/ConfigurationStore.cpp index a3e9364a5..69f9dae5c 100644 --- a/Marlin/ConfigurationStore.cpp +++ b/Marlin/ConfigurationStore.cpp @@ -97,6 +97,7 @@ void Config_StoreSettings() EEPROM_WRITE_VAR(i, dummy); dummy = 0.0f; EEPROM_WRITE_VAR(i,dummy); + EEPROM_WRITE_VAR(i,dummy); EEPROM_WRITE_VAR(i,dummy); } } @@ -106,6 +107,7 @@ void Config_StoreSettings() dummy = 0.0f; EEPROM_WRITE_VAR(i,dummy); EEPROM_WRITE_VAR(i,dummy); + EEPROM_WRITE_VAR(i,dummy); #endif//PIDTEMP #ifndef DOGLCD int lcd_contrast = 32; From d55c62bf9fe1026ba321746c6f1dde8c1ee92a5b Mon Sep 17 00:00:00 2001 From: clefranc Date: Tue, 27 Jan 2015 13:28:37 -0500 Subject: [PATCH 2/2] Update ConfigurationStore.cpp Moved #endif to allow filament settings to print. --- Marlin/ConfigurationStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/ConfigurationStore.cpp b/Marlin/ConfigurationStore.cpp index 69f9dae5c..05a3a47b3 100644 --- a/Marlin/ConfigurationStore.cpp +++ b/Marlin/ConfigurationStore.cpp @@ -271,6 +271,7 @@ SERIAL_ECHOLNPGM("Scaling factors:"); SERIAL_ECHOPAIR(" Swap rec. addl. length (mm): ", retract_recover_length_swap); SERIAL_ECHOLN(""); #endif//EXTRUDERS > 1 +#endif//FWRETRACT SERIAL_ECHO_START; if (volumetric_enabled) { SERIAL_ECHOLNPGM("Filament settings:"); @@ -295,7 +296,6 @@ SERIAL_ECHOLNPGM("Scaling factors:"); } else { SERIAL_ECHOLNPGM("Filament settings: Disabled"); } -#endif//FWRETRACT #ifdef CUSTOM_M_CODES SERIAL_ECHO_START; SERIAL_ECHOLNPGM("Z-Probe Offset (mm):");