removes attribute packed as it disables word access generation by gcc
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct __attribute((__packed__)) {
|
||||
typedef struct {
|
||||
volatile uint32_t VALUE;
|
||||
volatile uint32_t WRITE;
|
||||
volatile uint32_t WRITEENABLE;
|
||||
@@ -116,4 +116,4 @@ inline uint32_t get_gpio_boot_sel_bootSel(volatile gpio_t* reg){
|
||||
return (reg->BOOT_SEL >> 0) & 0x7;
|
||||
}
|
||||
|
||||
#endif /* _BSP_GPIO_H */
|
||||
#endif /* _BSP_GPIO_H */
|
||||
|
Reference in New Issue
Block a user