diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-02-21 23:17:59 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-02-21 23:17:59 +0200 |
commit | 6873b17117a41715c9a8ca63060974b64b4cdcf4 (patch) | |
tree | 74ed87abb4b19ec1922e98798ab35dc32b61110a /serial_link/protocol/transport.h | |
parent | 8cbfe79dd9ce2e8113a0f99e15d6ae4d3176b545 (diff) |
Support for Chibios compilation
Remove some warnings, change the include paths.
Diffstat (limited to 'serial_link/protocol/transport.h')
-rw-r--r-- | serial_link/protocol/transport.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/serial_link/protocol/transport.h b/serial_link/protocol/transport.h index a1a83b8f76..9e9e22462c 100644 --- a/serial_link/protocol/transport.h +++ b/serial_link/protocol/transport.h @@ -25,8 +25,8 @@ SOFTWARE. #ifndef SERIAL_LINK_TRANSPORT_H #define SERIAL_LINK_TRANSPORT_H -#include "protocol/triple_buffered_object.h" -#include "system/system.h" +#include "serial_link/protocol/triple_buffered_object.h" +#include "serial_link/system/system.h" #define NUM_SLAVES 8 #define LOCAL_OBJECT_EXTRA 16 @@ -146,7 +146,6 @@ typedef struct { \ void init_transport(remote_object_t** remote_objects, uint32_t num_remote_objects); void transport_recv_frame(uint8_t from, uint8_t* data, uint16_t size); -uint32_t transport_send_frame(uint8_t to, uint8_t* data, uint16_t size); void update_transport(void); #endif |