diff options
Diffstat (limited to 'serial_link/protocol/triple_buffered_object.h')
| -rw-r--r-- | serial_link/protocol/triple_buffered_object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/serial_link/protocol/triple_buffered_object.h b/serial_link/protocol/triple_buffered_object.h index 03209709c..2e57db3f5 100644 --- a/serial_link/protocol/triple_buffered_object.h +++ b/serial_link/protocol/triple_buffered_object.h | |||
| @@ -25,6 +25,8 @@ SOFTWARE. | |||
| 25 | #ifndef SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H | 25 | #ifndef SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H |
| 26 | #define SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H | 26 | #define SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H |
| 27 | 27 | ||
| 28 | #include <stdint.h> | ||
| 29 | |||
| 28 | typedef struct { | 30 | typedef struct { |
| 29 | uint8_t state; | 31 | uint8_t state; |
| 30 | uint8_t buffer[] __attribute__((aligned(4))); | 32 | uint8_t buffer[] __attribute__((aligned(4))); |
