mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Copter: integrate AP_Mission set_current_cmd
This commit is contained in:
parent
ef21e32fbc
commit
54c99d84ea
@ -1479,7 +1479,7 @@ mission_item_send_failed:
|
||||
}
|
||||
|
||||
// set current command
|
||||
mission.jump_to_cmd(packet.seq);
|
||||
mission.set_current_cmd(packet.seq);
|
||||
|
||||
mavlink_msg_mission_current_send(chan, mission.get_current_do_cmd().index);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user