AP_AHRS: added external AHRS mavlink status

This commit is contained in:
Andrew Tridgell 2021-01-01 17:24:13 +11:00 committed by Peter Barker
parent 75ad1a7d31
commit b5b9b57c9e
1 changed files with 3 additions and 3 deletions

View File

@ -2144,10 +2144,10 @@ void AP_AHRS_NavEKF::send_ekf_status_report(mavlink_channel_t chan) const
#endif
#if HAL_EXTERNAL_AHRS_ENABLED
case EKFType::EXTERNAL:
// send zero status report
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0, 0);
case EKFType::EXTERNAL: {
AP::externalAHRS().send_status_report(chan);
break;
}
#endif
#if HAL_NAVEKF2_AVAILABLE