Update ConfigurationStore.cpp

Added PIDTEMP dummy write to align EEPROM read/write operation.
master
clefranc 10 years ago
parent baac6e242d
commit e779641c73

@ -97,6 +97,7 @@ void Config_StoreSettings()
EEPROM_WRITE_VAR(i, dummy); EEPROM_WRITE_VAR(i, dummy);
dummy = 0.0f; dummy = 0.0f;
EEPROM_WRITE_VAR(i,dummy); EEPROM_WRITE_VAR(i,dummy);
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; dummy = 0.0f;
EEPROM_WRITE_VAR(i,dummy); EEPROM_WRITE_VAR(i,dummy);
EEPROM_WRITE_VAR(i,dummy); EEPROM_WRITE_VAR(i,dummy);
EEPROM_WRITE_VAR(i,dummy);
#endif//PIDTEMP #endif//PIDTEMP
#ifndef DOGLCD #ifndef DOGLCD
int lcd_contrast = 32; int lcd_contrast = 32;

Loading…
Cancel
Save