mission: add RTL to is_mission_item_reached_or_completed()

This ensures that a mission is marked as completed when RTL is the last item or that the mission can continue if there is an intermediate RTL.
This commit is contained in:
mahima-yoga
2025-05-28 17:38:53 +02:00
committed by Ramon Roche
parent daa491dc19
commit 8c5dcbea12
+1
View File
@@ -96,6 +96,7 @@ MissionBlock::is_mission_item_reached_or_completed()
case NAV_CMD_SET_CAMERA_FOCUS:
case NAV_CMD_DO_CHANGE_SPEED:
case NAV_CMD_DO_SET_HOME:
case NAV_CMD_RETURN_TO_LAUNCH:
return true;