mission_base: fix validity on abort landing

This commit is contained in:
Konrad 2023-12-13 14:17:22 +01:00 committed by Daniel Agar
parent 0a153efb9d
commit 169d2dd286
1 changed files with 1 additions and 1 deletions

View File

@ -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