mavlink: fix path for mavlink_types.h include

This commit is contained in:
Oleg Kalachev
2022-09-15 19:20:11 -04:00
committed by Daniel Agar
parent 5fcdffc8c0
commit 585e81fc30
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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