mavlink: mission manager fix signed sequence debug print type

This commit is contained in:
Daniel Agar 2020-07-14 10:09:09 -04:00
parent 1e56eed2aa
commit d791c8baad
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ px4_add_module(
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-address-of-packed-member # TODO: fix in c_library_v2
#-DDEBUG_BUILD
INCLUDES
${PX4_SOURCE_DIR}/mavlink/include/mavlink
SRCS

View File

@ -273,7 +273,7 @@ MavlinkMissionManager::send_mission_current(int32_t seq)
/* don't broadcast if no WPs */
} 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");
}