diff --git a/src/MissionManager/MissionController.cc b/src/MissionManager/MissionController.cc index 1ad193bd7d8a4faa8598f04451b522eb721b0df2..8c509579c0add98396cbc873f53969ef2d33e811 100644 --- a/src/MissionManager/MissionController.cc +++ b/src/MissionManager/MissionController.cc @@ -1548,12 +1548,10 @@ void MissionController::_recalcMissionFlightStatus() // Update VTOL state if (simpleItem && _controllerVehicle->vtol()) { switch (simpleItem->command()) { - case MAV_CMD_NAV_TAKEOFF: + case MAV_CMD_NAV_TAKEOFF: // This will do a fixed wing style takeoff + case MAV_CMD_NAV_VTOL_TAKEOFF: // Vehicle goes straight up and then transitions to FW vtolInHover = false; break; - case MAV_CMD_NAV_VTOL_TAKEOFF: - vtolInHover = true; - break; case MAV_CMD_NAV_LAND: vtolInHover = false; break;