Remove 'packed' attribute from all regs structs
This commit is contained in:
parent
22d35ed5f2
commit
da48a6b0df
7 changed files with 7 additions and 7 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue