Copter: use get_current_nav_index()

This commit is contained in:
Randy Mackay 2014-04-27 15:59:52 +09:00
parent 5fe86a657e
commit d3411e45bb
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ static void NOINLINE send_raw_imu3(mavlink_channel_t chan)
static void NOINLINE send_current_waypoint(mavlink_channel_t chan)
{
mavlink_msg_mission_current_send(chan, mission.get_current_nav_cmd().index);
mavlink_msg_mission_current_send(chan, mission.get_current_nav_index());
}
static void NOINLINE send_statustext(mavlink_channel_t chan)