PaoloP74/extEEPROM

Small bug in print of dump function of eepromTest example

mrjoso opened this issue · 1 comments

if ( d[c] < 16 ) {
Serial.print(F("0"));
Serial.print(d[c], HEX);
Serial.print( c == 7 ? " " : " ");
}

The original code of dump function skips print of byte when the value is < 16

Should be changed to this:
if ( d[c] < 16 ) Serial.print(F("0"));
Serial.print(d[c], HEX);
Serial.print( c == 7 ? " " : " ");

Here to second this; data dump is incorrect in serial output without this fix.