diff --git a/src/MissionManager/MissionManager.cc b/src/MissionManager/MissionManager.cc index 79c4252c00e6af866a5bbdf941d5f516fe8e5df7..97fcf0c8971f9fe7a7fb6830140f57c732015779 100644 --- a/src/MissionManager/MissionManager.cc +++ b/src/MissionManager/MissionManager.cc @@ -267,7 +267,7 @@ void MissionManager::_handleMissionItem(const mavlink_message_t& message) missionItem.current, this); - if (item->command() == MAV_CMD_DO_JUMP) { + if (item->command() == MAV_CMD_DO_JUMP && !_vehicle->firmwarePlugin()->sendHomePositionToVehicle()) { // Home is in position 0 item->setParam1((int)item->param1() + 1); }