forked from Archive/PX4-Autopilot
mission_base: fix validity on abort landing
This commit is contained in:
parent
0a153efb9d
commit
169d2dd286
|
@ -831,7 +831,7 @@ MissionBase::do_abort_landing()
|
|||
|
||||
} else {
|
||||
// move mission index back (landing approach point)
|
||||
_is_current_planned_mission_item_valid = goToPreviousItem(false);
|
||||
_is_current_planned_mission_item_valid = (goToPreviousItem(false) == PX4_OK);
|
||||
}
|
||||
|
||||
// send reposition cmd to get out of mission
|
||||
|
|
Loading…
Reference in New Issue