mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 07:11:36 +08:00
mavlink: support receiving multi-chunk statustexts
This adds support for mavlink statustext messages arriving in multiple chunks.
This commit is contained in:
@@ -93,6 +93,7 @@ px4_add_module(
|
||||
mavlink_stream.cpp
|
||||
mavlink_timesync.cpp
|
||||
mavlink_ulog.cpp
|
||||
MavlinkStatustextHandler.cpp
|
||||
tune_publisher.cpp
|
||||
MODULE_CONFIG
|
||||
module.yaml
|
||||
@@ -115,3 +116,10 @@ px4_add_module(
|
||||
if(PX4_TESTING)
|
||||
add_subdirectory(mavlink_tests)
|
||||
endif()
|
||||
|
||||
px4_add_unit_gtest(SRC MavlinkStatustextHandlerTest.cpp
|
||||
INCLUDES ${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT}
|
||||
COMPILE_FLAGS
|
||||
-Wno-address-of-packed-member # TODO: fix in c_library_v2
|
||||
LINKLIBS modules__mavlink
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user