INav_EKF: accept baro_glitch in constructor

Required so it can create an InertialNav object
This commit is contained in:
Randy Mackay 2014-07-28 17:37:29 +09:00
parent 322f527c4f
commit 4db4471f49
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ class AP_InertialNav_NavEKF : public AP_InertialNav
{ {
public: public:
// Constructor // Constructor
AP_InertialNav_NavEKF(AP_AHRS &ahrs, AP_Baro &baro, GPS_Glitch& gps_glitch ) : AP_InertialNav_NavEKF(AP_AHRS &ahrs, AP_Baro &baro, GPS_Glitch& gps_glitch, Baro_Glitch& baro_glitch) :
AP_InertialNav(ahrs, baro, gps_glitch), AP_InertialNav(ahrs, baro, gps_glitch, baro_glitch),
_haveabspos(false) _haveabspos(false)
{ {
} }