mirror of https://github.com/ArduPilot/ardupilot
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:
parent
0443c8561b
commit
35c2653a87
|
@ -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…
Reference in New Issue