Inav_EKF: init member and remove hal reference to reduce compiler warnings

This commit is contained in:
Randy Mackay 2014-07-15 11:02:52 +09:00
parent e27ff75a71
commit 6f60ce3d6e
2 changed files with 2 additions and 3 deletions

View File

@ -3,8 +3,6 @@
#include <AP_HAL.h>
#include "AP_InertialNav.h"
extern const AP_HAL::HAL& hal;
#if AP_AHRS_NAVEKF_AVAILABLE
/*

View File

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