Skip to content

Commit

Permalink
mavlink: mission manager fix signed sequence debug print type
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jul 14, 2020
1 parent 1e56eed commit d791c8b
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 @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/modules/mavlink/mavlink_mission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit d791c8b

Please sign in to comment.