Sub: Return MAV_RESULT_UNSUPPORTED for compassmot calibration

This commit is contained in:
Jacob Walser 2016-12-07 11:43:08 -05:00 committed by Andrew Tridgell
parent 7b1347da79
commit 2bb3286faa
1 changed files with 3 additions and 1 deletions

View File

@ -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;