Tracker: Allow compass to manage buffer space for MAG_CAL

This commit is contained in:
Michael du Breuil 2016-10-24 22:20:30 -07:00 committed by Andrew Tridgell
parent b5684e7eb4
commit 4e86ef9b47

View File

@ -239,12 +239,10 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id)
tracker.send_hwstatus(chan);
break;
case MSG_MAG_CAL_PROGRESS:
CHECK_PAYLOAD_SIZE(MAG_CAL_PROGRESS);
tracker.compass.send_mag_cal_progress(chan);
break;
case MSG_MAG_CAL_REPORT:
CHECK_PAYLOAD_SIZE(MAG_CAL_REPORT);
tracker.compass.send_mag_cal_report(chan);
break;