Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
uavcan: fixed build with MAVLink2
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Apr 7, 2016
1 parent 4e5cccf commit 2f2bc28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/uavcan/uavcan_servers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@
#include <uORB/topics/uavcan_parameter_request.h>
#include <uORB/topics/uavcan_parameter_value.h>

#if MAVLINK_PROTOCOL_VERSION == 2
#include <include/mavlink/v2.0/common/mavlink.h>
#else
#include <include/mavlink/v1.0/common/mavlink.h>
#endif

//todo:The Inclusion of file_server_backend is killing
// #include <sys/types.h> and leaving OK undefined
Expand Down

0 comments on commit 2f2bc28

Please sign in to comment.