mirror of https://github.com/ArduPilot/ardupilot
Plane: Allow compass calibrator to manage size of buffer
This commit is contained in:
parent
4d8053afc9
commit
2b30e6a7d7
|
@ -855,12 +855,10 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSG_MAG_CAL_PROGRESS:
|
case MSG_MAG_CAL_PROGRESS:
|
||||||
CHECK_PAYLOAD_SIZE(MAG_CAL_PROGRESS);
|
|
||||||
plane.compass.send_mag_cal_progress(chan);
|
plane.compass.send_mag_cal_progress(chan);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSG_MAG_CAL_REPORT:
|
case MSG_MAG_CAL_REPORT:
|
||||||
CHECK_PAYLOAD_SIZE(MAG_CAL_REPORT);
|
|
||||||
plane.compass.send_mag_cal_report(chan);
|
plane.compass.send_mag_cal_report(chan);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue