Skip to content

Commit

Permalink
sys/log: Fix coding style of the log header
Browse files Browse the repository at this point in the history
  • Loading branch information
vrahane committed Mar 20, 2024
1 parent d85ecc0 commit f2010e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/log/full/include/log/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ struct log_entry_hdr {
uint8_t ue_etype:4;
uint8_t ue_flags:4;
uint8_t ue_imghash[4];
}__attribute__((__packed__));
} __attribute__((__packed__));
#elif MYNEWT_VAL(LOG_VERSION) == 4
struct log_entry_hdr {
int64_t ue_ts;
Expand All @@ -153,7 +153,7 @@ struct log_entry_hdr {
uint8_t ue_flags:4;
uint8_t ue_imghash[4];
uint32_t ue_num_entries;
}__attribute__((__packed__));
} __attribute__((__packed__));
#else
#error "Unsupported log version"
#endif
Expand Down

0 comments on commit f2010e9

Please sign in to comment.