Tweaks to E2END, mesh slot offset

This commit is contained in:
Scott Lahteine 2018-03-10 03:07:50 -06:00
parent 5ce64f6d16
commit 4b5a42f86a
3 changed files with 11 additions and 8 deletions

View file

@ -1163,13 +1163,13 @@
SERIAL_ECHO_START();
SERIAL_ECHOLNPGM("EEPROM Dump:");
for (uint16_t i = 0; i < E2END + 1; i += 16) {
for (uint16_t i = 0; i <= E2END; i += 16) {
if (!(i & 0x3)) idle();
print_hex_word(i);
SERIAL_ECHOPGM(": ");
for (uint16_t j = 0; j < 16; j++) {
kkkk = i + j;
eeprom_read_block(&cccc, (const void *) kkkk, sizeof(unsigned char));
eeprom_read_block(&cccc, (const void *)kkkk, sizeof(unsigned char));
print_hex_byte(cccc);
SERIAL_ECHO(' ');
}