Update ConfigurationStore.cpp

Added PIDTEMP dummy write to align EEPROM read/write operation.
This commit is contained in:
clefranc 2015-01-27 13:25:47 -05:00
parent baac6e242d
commit e779641c73

View File

@ -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;