eeprom error message

This commit is contained in:
PavelSindler 2017-09-21 15:35:46 +02:00
parent 6eb57da770
commit effe6126be

View file

@ -19,7 +19,7 @@ void _EEPROM_writeData(int &pos, uint8_t* value, uint8_t size)
if (v != eeprom_read_byte(p)) { if (v != eeprom_read_byte(p)) {
eeprom_write_byte(p, v); eeprom_write_byte(p, v);
if (eeprom_read_byte(p) != v) { if (eeprom_read_byte(p) != v) {
//add error message SERIAL_ECHOLNPGM("EEPROM Error");
return; return;
} }
} }