Plane: move try_send_message handling of EKF_STATUS_REPORT up

This commit is contained in:
Peter Barker 2018-05-02 22:19:41 +10:00 committed by Francisco Ferreira
parent 78d2c52a3f
commit 9437e893e5

View File

@ -468,13 +468,6 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
#endif
break;
case MSG_EKF_STATUS_REPORT:
#if AP_AHRS_NAVEKF_AVAILABLE
CHECK_PAYLOAD_SIZE(EKF_STATUS_REPORT);
plane.ahrs.send_ekf_status_report(chan);
#endif
break;
case MSG_GIMBAL_REPORT:
#if MOUNT == ENABLED
CHECK_PAYLOAD_SIZE(GIMBAL_REPORT);