mirror of https://github.com/ArduPilot/ardupilot
AP_InertialNav: remove EKF1
This commit is contained in:
parent
6d086e0c31
commit
f70cc3cf34
|
@ -62,7 +62,7 @@ struct Location AP_InertialNav_NavEKF::get_origin() const
|
|||
{
|
||||
struct Location ret;
|
||||
if (!_ahrs_ekf.get_origin(ret)) {
|
||||
// initialise location to all zeros if EKF1 origin not yet set
|
||||
// initialise location to all zeros if EKF origin not yet set
|
||||
memset(&ret, 0, sizeof(ret));
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue