Browse Source

eeprom error message

PavelSindler 7 năm trước cách đây
mục cha
commit
effe6126be
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Firmware/ConfigurationStore.cpp

+ 1 - 1
Firmware/ConfigurationStore.cpp

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