eeprom error message
This commit is contained in:
parent
6eb57da770
commit
effe6126be
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ void _EEPROM_writeData(int &pos, uint8_t* value, uint8_t size)
|
|||
if (v != eeprom_read_byte(p)) {
|
||||
eeprom_write_byte(p, v);
|
||||
if (eeprom_read_byte(p) != v) {
|
||||
//add error message
|
||||
SERIAL_ECHOLNPGM("EEPROM Error");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue