瀏覽代碼

Update ConfigurationStore.cpp

Added PIDTEMP dummy write to align EEPROM read/write operation.
clefranc 9 年之前
父節點
當前提交
e779641c73
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      Marlin/ConfigurationStore.cpp

+ 2
- 0
Marlin/ConfigurationStore.cpp 查看文件

@@ -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…
取消
儲存