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

@ -36,7 +36,7 @@ struct TIMER_REGS { // FRC1 FRC2
uint32_t volatile CTRL; // 0x08 0x28
uint32_t volatile STATUS; // 0x0c 0x2c
uint32_t volatile ALARM; // 0x30
} __attribute__ (( packed ));
};
_Static_assert(sizeof(struct TIMER_REGS) == 0x14, "TIMER_REGS is the wrong size");