Compare commits

...

2 Commits

View File

@ -154,7 +154,7 @@ struct bfl_boot_header {
uint32_t crc32; uint32_t crc32;
}; };
static_assert(sizeof(struct bfl_boot_header) == 176, _Static_assert(sizeof(struct bfl_boot_header) == 176,
"Bootheader have wrong size"); "Bootheader have wrong size");
struct blflash_segment_header { struct blflash_segment_header {
@ -164,7 +164,7 @@ struct blflash_segment_header {
uint32_t crc32; uint32_t crc32;
}; };
static_assert(sizeof(struct blflash_segment_header) == 16, _Static_assert(sizeof(struct blflash_segment_header) == 16,
"Segment header have wrong size"); "Segment header have wrong size");
#pragma pack(pop) #pragma pack(pop)