Browse Source

yeah, what he said

pull/1/head
Scott Lahteine 10 years ago
parent
commit
fe3810f073
  1. 4
      Marlin/ConfigurationStore.cpp

4
Marlin/ConfigurationStore.cpp

@ -72,8 +72,8 @@ void _EEPROM_writeData(int &pos, uint8_t* value, uint8_t size) {
uint8_t c; uint8_t c;
while(size--) { while(size--) {
eeprom_write_byte((unsigned char*)pos, *value); eeprom_write_byte((unsigned char*)pos, *value);
*c = eeprom_read_byte((unsigned char*)pos); c = eeprom_read_byte((unsigned char*)pos);
if (*c != *value) { if (c != *value) {
SERIAL_ECHO_START; SERIAL_ECHO_START;
SERIAL_ECHOLNPGM(MSG_ERR_EEPROM_WRITE); SERIAL_ECHOLNPGM(MSG_ERR_EEPROM_WRITE);
} }

Loading…
Cancel
Save