yeah, what he said

This commit is contained in:
Scott Lahteine 2015-01-28 22:27:15 -08:00
parent 6137bbd484
commit fe3810f073

View file

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