GCS_MAVLink: stop using GCS_MAVLINK.h in header files

... by passing through a reference to a link object instead
This commit is contained in:
Peter Barker 2022-07-08 14:15:35 +10:00 committed by Andrew Tridgell
parent 0443c8561b
commit 35c2653a87
1 changed files with 1 additions and 1 deletions

View File

@ -5393,7 +5393,7 @@ bool GCS_MAVLINK::try_send_message(const enum ap_message id)
case MSG_EKF_STATUS_REPORT:
CHECK_PAYLOAD_SIZE(EKF_STATUS_REPORT);
AP::ahrs().send_ekf_status_report(chan);
AP::ahrs().send_ekf_status_report(*this);
break;
case MSG_MEMINFO: