Fix a couple of struct def issues with 2 previous commits
This commit is contained in:
parent
0b6dfb6080
commit
fdbb361a60
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ struct DPORT_REGS {
|
|||
uint32_t volatile OTP_MAC2; // 0x5c
|
||||
} __attribute__ (( packed ));
|
||||
|
||||
_Static_assert(sizeof(struct DPORT_REGS) == 0x5c, "DPORT_REGS is the wrong size");
|
||||
_Static_assert(sizeof(struct DPORT_REGS) == 0x60, "DPORT_REGS is the wrong size");
|
||||
|
||||
/* Details for DPORT0 register */
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ struct UART_REGS {
|
|||
uint32_t volatile LOW_PULSE; // 0x28
|
||||
uint32_t volatile HIGH_PULSE; // 0x2c
|
||||
uint32_t volatile PULSE_COUNT; // 0x30
|
||||
uint32_t volatile _unused[18]; // 0x34 - 0x74
|
||||
uint32_t volatile _unused[17]; // 0x34 - 0x74
|
||||
uint32_t volatile DATE; // 0x78
|
||||
uint32_t volatile ID; // 0x7c
|
||||
} __attribute__ (( packed ));
|
||||
|
|
Loading…
Reference in a new issue