summaryrefslogtreecommitdiffstats
path: root/serial_link/protocol/triple_buffered_object.c
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.c
parent8cbfe79dd9ce2e8113a0f99e15d6ae4d3176b545 (diff)
Support for Chibios compilation
Remove some warnings, change the include paths.
Diffstat (limited to 'serial_link/protocol/triple_buffered_object.c')
-rw-r--r--serial_link/protocol/triple_buffered_object.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/serial_link/protocol/triple_buffered_object.c b/serial_link/protocol/triple_buffered_object.c
index 6b3cf75adf..c6bf28af0a 100644
--- a/serial_link/protocol/triple_buffered_object.c
+++ b/serial_link/protocol/triple_buffered_object.c
@@ -22,8 +22,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
-#include "protocol/triple_buffered_object.h"
-#include "system/system.h"
+#include "serial_link/protocol/triple_buffered_object.h"
+#include "serial_link/system/system.h"
+#include <stdbool.h>
+#include <stddef.h>
#define GET_READ_INDEX() object->state & 3
#define GET_WRITE_INDEX() (object->state >> 2) & 3