Commit 687468cf authored by Don Gagne's avatar Don Gagne

Merge pull request #2983 from DonLakeFlyer/DoJumpFix

DO_JUMP fix
parents b3aa9d3a 1343a42f
......@@ -101,7 +101,7 @@ QGCView {
if (ScreenTools.isMobile) {
_root.showDialog(mobileFileSaver, "Save Mission File", _root.showDialogDefaultWidth, StandardButton.Save | StandardButton.Cancel)
} else {
controller.saveMissionToFile()
controller.saveMissionToFilePicker()
}
}
......
......@@ -300,7 +300,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