mirror of https://github.com/ArduPilot/ardupilot
Copter: use get_current_nav_index()
This commit is contained in:
parent
5fe86a657e
commit
d3411e45bb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue