Skip to content

Commit

Permalink
mavlink: fix path for mavlink_types.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Aug 9, 2022
1 parent 97f632a commit a9dd35d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/modules/mavlink/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ endif()

px4_add_unit_gtest(SRC MavlinkStatustextHandlerTest.cpp
INCLUDES
${MAVLINK_LIBRARY_DIR}
${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT}
COMPILE_FLAGS
-Wno-address-of-packed-member # TODO: fix in c_library_v2
Expand Down
2 changes: 1 addition & 1 deletion src/modules/mavlink/mavlink_bridge_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# define MAVLINK_COMM_5 static_cast<mavlink_channel_t>(5)
#endif

#include <mavlink/mavlink_types.h>
#include <mavlink_types.h>
#include <unistd.h>

__BEGIN_DECLS
Expand Down

0 comments on commit a9dd35d

Please sign in to comment.