Skip to content

Commit

Permalink
mission_base: fix validity on abort landing
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradRudin authored and dagar committed Jan 30, 2024
1 parent 0a153ef commit 169d2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/navigator/mission_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 169d2dd

Please sign in to comment.