Browse Source

GCS_MAVLink: stop using GCS_MAVLINK.h in header files

... by passing through a reference to a link object instead
master
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
35c2653a87
  1. 2
      libraries/GCS_MAVLink/GCS_Common.cpp

2
libraries/GCS_MAVLink/GCS_Common.cpp

@ -5393,7 +5393,7 @@ bool GCS_MAVLINK::try_send_message(const enum ap_message id) @@ -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:

Loading…
Cancel
Save