mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user