From 4db4471f496746f78b722217975713436cc31672 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 28 Jul 2014 17:37:29 +0900 Subject: [PATCH] INav_EKF: accept baro_glitch in constructor Required so it can create an InertialNav object --- libraries/AP_InertialNav/AP_InertialNav_NavEKF.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_InertialNav/AP_InertialNav_NavEKF.h b/libraries/AP_InertialNav/AP_InertialNav_NavEKF.h index 04dd0705dc..bf954db509 100644 --- a/libraries/AP_InertialNav/AP_InertialNav_NavEKF.h +++ b/libraries/AP_InertialNav/AP_InertialNav_NavEKF.h @@ -14,8 +14,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_NavEKF(AP_AHRS &ahrs, AP_Baro &baro, GPS_Glitch& gps_glitch, Baro_Glitch& baro_glitch) : + AP_InertialNav(ahrs, baro, gps_glitch, baro_glitch), _haveabspos(false) { }