Browse Source

Update ConfigurationStore.cpp

Added PIDTEMP dummy write to align EEPROM read/write operation.
clefranc 9 years ago
parent
commit
e779641c73
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/ConfigurationStore.cpp

+ 2
- 0
Marlin/ConfigurationStore.cpp View File

@@ -98,6 +98,7 @@ void Config_StoreSettings()
98 98
 		dummy = 0.0f;
99 99
         EEPROM_WRITE_VAR(i,dummy);
100 100
         EEPROM_WRITE_VAR(i,dummy);
101
+        EEPROM_WRITE_VAR(i,dummy);
101 102
 	  }
102 103
 	}
103 104
   #else//PIDTEMP
@@ -106,6 +107,7 @@ void Config_StoreSettings()
106 107
 		dummy = 0.0f;
107 108
     EEPROM_WRITE_VAR(i,dummy);
108 109
     EEPROM_WRITE_VAR(i,dummy);
110
+    EEPROM_WRITE_VAR(i,dummy);
109 111
   #endif//PIDTEMP
110 112
   #ifndef DOGLCD
111 113
     int lcd_contrast = 32;

Loading…
Cancel
Save