Rover: use get_current_nav_index()
This commit is contained in:
parent
e15350f756
commit
05c59c757c
@ -518,7 +518,7 @@ static void NOINLINE send_rangefinder(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
Block a user