Browse Source

Sub: Return MAV_RESULT_UNSUPPORTED for compassmot calibration

master
Jacob Walser 8 years ago committed by Andrew Tridgell
parent
commit
2bb3286faa
  1. 4
      ArduSub/GCS_Mavlink.cpp

4
ArduSub/GCS_Mavlink.cpp

@ -1441,7 +1441,9 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) @@ -1441,7 +1441,9 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
}
} else if (is_equal(packet.param6,1.0f)) {
// compassmot calibration
result = sub.mavlink_compassmot(chan);
//result = sub.mavlink_compassmot(chan);
sub.gcs_send_text(MAV_SEVERITY_INFO, "#CompassMot calibration not supported");
result = MAV_RESULT_UNSUPPORTED;
}
break;

Loading…
Cancel
Save