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 CONTROL;
volatile uint32_t STATUS;
volatile uint32_t IE;
@ -451,4 +451,4 @@ inline void set_dma_ch1_dst_addr_inc_dst_stride(volatile dma_t* reg, uint32_t va
reg->CH1_DST_ADDR_INC = (reg->CH1_DST_ADDR_INC & ~(0xfffffU << 12)) | (value << 12);
}
#endif /* _BSP_DMA_H */
#endif /* _BSP_DMA_H */