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 LEFT_CH;
|
||||
volatile uint32_t RIGHT_CH;
|
||||
volatile uint32_t CONTROL;
|
||||
@@ -215,4 +215,4 @@ inline uint32_t get_i2s_ip_right_sample_avail(volatile i2s_t* reg){
|
||||
return (reg->IP >> 1) & 0x1;
|
||||
}
|
||||
|
||||
#endif /* _BSP_I2S_H */
|
||||
#endif /* _BSP_I2S_H */
|
||||
|
Reference in New Issue
Block a user