mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
mavlink: mission manager fix signed sequence debug print type
This commit is contained in:
@@ -39,6 +39,7 @@ px4_add_module(
|
|||||||
COMPILE_FLAGS
|
COMPILE_FLAGS
|
||||||
-Wno-cast-align # TODO: fix and enable
|
-Wno-cast-align # TODO: fix and enable
|
||||||
-Wno-address-of-packed-member # TODO: fix in c_library_v2
|
-Wno-address-of-packed-member # TODO: fix in c_library_v2
|
||||||
|
#-DDEBUG_BUILD
|
||||||
INCLUDES
|
INCLUDES
|
||||||
${PX4_SOURCE_DIR}/mavlink/include/mavlink
|
${PX4_SOURCE_DIR}/mavlink/include/mavlink
|
||||||
SRCS
|
SRCS
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ MavlinkMissionManager::send_mission_current(int32_t seq)
|
|||||||
/* don't broadcast if no WPs */
|
/* don't broadcast if no WPs */
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
PX4_DEBUG("WPM: Send MISSION_CURRENT ERROR: seq %u out of bounds", seq);
|
PX4_DEBUG("WPM: Send MISSION_CURRENT ERROR: seq %d out of bounds", seq);
|
||||||
|
|
||||||
_mavlink->send_statustext_critical("ERROR: wp index out of bounds");
|
_mavlink->send_statustext_critical("ERROR: wp index out of bounds");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user