From 35c2653a87370dbf4cc2b9505142ca2ef1c11771 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 8 Jul 2022 14:15:35 +1000 Subject: [PATCH] GCS_MAVLink: stop using GCS_MAVLINK.h in header files ... by passing through a reference to a link object instead --- libraries/GCS_MAVLink/GCS_Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index cd21bfaed7..9423def7dc 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -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: