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 PIXEL;
|
||||
volatile uint32_t CONTROL;
|
||||
volatile uint32_t STATUS;
|
||||
@@ -157,4 +157,4 @@ inline void set_camera_ip_frame_finished_irq_pend(volatile camera_t* reg, uint8_
|
||||
reg->IP = (reg->IP & ~(0x1U << 1)) | (value << 1);
|
||||
}
|
||||
|
||||
#endif /* _BSP_CAMERA_H */
|
||||
#endif /* _BSP_CAMERA_H */
|
||||
|
Reference in New Issue
Block a user