AP_AHRS: finish implementing have_ekf_logging()

This commit is contained in:
Andrew Tridgell 2016-05-05 09:24:19 +10:00
parent 4e4c575f16
commit 73d3797a7e

View File

@ -1275,6 +1275,12 @@ bool AP_AHRS_NavEKF::getGpsGlitchStatus()
// is the EKF backend doing its own sensor logging?
bool AP_AHRS_NavEKF::have_ekf_logging(void) const
{
switch (ekf_type()) {
case 2:
return EKF2.have_ekf_logging();
default:
break;
}
return false;
}