mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_AHRS: finish implementing have_ekf_logging()
This commit is contained in:
parent
4e4c575f16
commit
73d3797a7e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user