summaryrefslogtreecommitdiffstats
path: root/serial_link/protocol/triple_buffered_object.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-02-21 23:17:59 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-02-21 23:17:59 +0200
commit6873b17117a41715c9a8ca63060974b64b4cdcf4 (patch)
tree74ed87abb4b19ec1922e98798ab35dc32b61110a /serial_link/protocol/triple_buffered_object.h
parent8cbfe79dd9ce2e8113a0f99e15d6ae4d3176b545 (diff)
Support for Chibios compilation
Remove some warnings, change the include paths.
Diffstat (limited to 'serial_link/protocol/triple_buffered_object.h')
-rw-r--r--serial_link/protocol/triple_buffered_object.h2
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 03209709cb..2e57db3f50 100644
--- a/serial_link/protocol/triple_buffered_object.h
+++ b/serial_link/protocol/triple_buffered_object.h
@@ -25,6 +25,8 @@ SOFTWARE.
#ifndef SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H
#define SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H
+#include <stdint.h>
+
typedef struct {
uint8_t state;
uint8_t buffer[] __attribute__((aligned(4)));