Browse Source

AP_AHRS: fix for mavlink update

master
Andrew Tridgell 7 years ago
parent
commit
0b03562cf2
  1. 4
      libraries/AP_AHRS/AP_AHRS_NavEKF.cpp

4
libraries/AP_AHRS/AP_AHRS_NavEKF.cpp

@ -1401,13 +1401,13 @@ void AP_AHRS_NavEKF::send_ekf_status_report(mavlink_channel_t chan) const @@ -1401,13 +1401,13 @@ void AP_AHRS_NavEKF::send_ekf_status_report(mavlink_channel_t chan) const
switch (ekf_type()) {
case EKF_TYPE_NONE:
// send zero status report
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0);
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0, 0);
break;
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
case EKF_TYPE_SITL:
// send zero status report
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0);
mavlink_msg_ekf_status_report_send(chan, 0, 0, 0, 0, 0, 0, 0);
break;
#endif

Loading…
Cancel
Save