Commit 1343a42f authored by Don Gagne's avatar Don Gagne

DO_JUMP fixup incorrect

parent 1a813c74
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment