diff --git a/core/include/esp/dport_regs.h b/core/include/esp/dport_regs.h index cee494d..44a3b5b 100644 --- a/core/include/esp/dport_regs.h +++ b/core/include/esp/dport_regs.h @@ -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 */ diff --git a/core/include/esp/uart_regs.h b/core/include/esp/uart_regs.h index 1afb089..fe8e03d 100644 --- a/core/include/esp/uart_regs.h +++ b/core/include/esp/uart_regs.h @@ -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 ));