Rover: Allow compass to manage buffer space for MAG_CAL

This commit is contained in:
Michael du Breuil 2016-10-24 22:20:02 -07:00 committed by Andrew Tridgell
parent 790ddeb04e
commit b5684e7eb4

View File

@ -571,12 +571,10 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
break;
case MSG_MAG_CAL_PROGRESS:
CHECK_PAYLOAD_SIZE(MAG_CAL_PROGRESS);
rover.compass.send_mag_cal_progress(chan);
break;
case MSG_MAG_CAL_REPORT:
CHECK_PAYLOAD_SIZE(MAG_CAL_REPORT);
rover.compass.send_mag_cal_report(chan);
break;