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 76ad427dc2
commit 3e8c14cd15
7 changed files with 7 additions and 7 deletions

View file

@ -57,7 +57,7 @@ struct GPIO_REGS {
uint32_t volatile PWM; // 0x68
uint32_t volatile RTC_CALIB; // 0x6c
uint32_t volatile RTC_CALIB_RESULT; // 0x70
} __attribute__ (( packed ));
};
_Static_assert(sizeof(struct GPIO_REGS) == 0x74, "GPIO_REGS is the wrong size");