Remove 'packed' attribute from all regs structs

This commit is contained in:
Alex Stewart 2015-08-25 17:13:13 -07:00 committed by Angus Gratton
parent 22d35ed5f2
commit da48a6b0df
7 changed files with 7 additions and 7 deletions

View file

@ -45,7 +45,7 @@ struct DPORT_REGS {
uint32_t volatile OTP_MAC1; // 0x54
uint32_t volatile OTP_CHIPID; // 0x58
uint32_t volatile OTP_MAC2; // 0x5c
} __attribute__ (( packed ));
};
_Static_assert(sizeof(struct DPORT_REGS) == 0x60, "DPORT_REGS is the wrong size");