Skip to content

Commit

Permalink
AP_Landing: Support added for DO_LAND_START FS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear committed Feb 3, 2020
1 parent 94c4c96 commit fe4c0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Landing/AP_Landing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ bool AP_Landing::restart_landing_sequence()
success = true;
}
else if (do_land_start_index != 0 &&
mission.set_current_cmd(do_land_start_index))
mission.set_current_cmd(do_land_start_index, true))
{
// look for a DO_LAND_START and use that index
gcs().send_text(MAV_SEVERITY_NOTICE, "Restarted landing via DO_LAND_START: %d",do_land_start_index);
Expand Down

0 comments on commit fe4c0c7

Please sign in to comment.