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/triple_buffered_object.c | |
parent | 8cbfe79dd9ce2e8113a0f99e15d6ae4d3176b545 (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.c | 6 |
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 |