removes attribute packed as it disables word access generation by gcc

This commit is contained in:
2024-08-11 17:29:43 +02:00
parent 46d55f353e
commit 5d78f839a5
8 changed files with 19 additions and 19 deletions

View File

@@ -12,7 +12,7 @@
#include <stdint.h>
typedef struct __attribute((__packed__)) {
typedef struct {
volatile uint32_t RX_TX_REG;
volatile uint32_t INT_CTRL_REG;
volatile uint32_t CLK_DIVIDER_REG;
@@ -233,4 +233,4 @@ inline void set_uart_status_reg_clear_break(volatile uart_t* reg, uint8_t value)
reg->STATUS_REG = (reg->STATUS_REG & ~(0x1U << 11)) | (value << 11);
}
#endif /* _BSP_UART_H */
#endif /* _BSP_UART_H */