mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
mission: start looking for first fw waypoint at the first mission index
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
parent
fc08c538da
commit
22b477f759
@ -424,7 +424,7 @@ Mission::find_mission_land_start_and_first_fw_waypoint()
|
||||
|
||||
bool found_land_start_marker = false;
|
||||
|
||||
for (size_t i = 1; i < _mission.count; i++) {
|
||||
for (size_t i = 0; i < _mission.count; i++) {
|
||||
const ssize_t len = sizeof(missionitem);
|
||||
missionitem_prev = missionitem; // store the last mission item before reading a new one
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user