summaryrefslogtreecommitdiffstats
path: root/serial_link/protocol/triple_buffered_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'serial_link/protocol/triple_buffered_object.h')
-rw-r--r--serial_link/protocol/triple_buffered_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial_link/protocol/triple_buffered_object.h b/serial_link/protocol/triple_buffered_object.h
index 705f0c49f9..d224f36a2e 100644
--- a/serial_link/protocol/triple_buffered_object.h
+++ b/serial_link/protocol/triple_buffered_object.h
@@ -27,7 +27,7 @@ SOFTWARE.
typedef struct {
uint8_t state;
- uint8_t buffer[];
+ uint8_t buffer[] __attribute__((aligned(4)));
}triple_buffer_object_t;
void triple_buffer_init(triple_buffer_object_t* object);