uncrustify libraries/AP_Common/tools/eedump.c

This commit is contained in:
uncrustify 2012-08-16 23:18:11 -07:00 committed by Pat Hickey
parent 4a50e56a48
commit 3a26b94af2
1 changed files with 52 additions and 52 deletions

View File

@ -19,8 +19,8 @@ static const uint16_t k_EEPROM_magic = 0x5041;
static const uint16_t k_EEPROM_revision = 2;
struct Var_header {
uint8_t size:6;
uint8_t spare:2;
uint8_t size : 6;
uint8_t spare : 2;
uint8_t key;
};
@ -63,7 +63,7 @@ main(int argc, char *argv[])
printf("Header OK\n");
index = sizeof(*header);
for (;;) {
for (;; ) {
var = (struct Var_header *)&eeprom[index];
if (var->key == k_key_sentinel) {
printf("end sentinel at %u\n", index);