mirror of https://github.com/ArduPilot/ardupilot
fixed dump size
This commit is contained in:
parent
089db43183
commit
048aed5427
|
@ -123,7 +123,7 @@ main(int argc, char *argv[])
|
|||
printf("%04x: type %u (%s) key %u group_element %u size %d\n ",
|
||||
index, var->type, type_names[var->type], var->key, var->group_element, size);
|
||||
index += sizeof(*var);
|
||||
for (i = 0; i <= size; i++) {
|
||||
for (i = 0; i < size; i++) {
|
||||
printf(" %02x", eeprom[index + i]);
|
||||
}
|
||||
printf("\n");
|
||||
|
|
Loading…
Reference in New Issue