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