From fdfa08c586132dec8d8e86f88fcf89676a4fe60b Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 10 Apr 2018 10:56:06 +0200 Subject: [PATCH] AP_AHRS: fix include order due to cyclic include --- libraries/AP_AHRS/AP_AHRS_NavEKF.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS_NavEKF.h b/libraries/AP_AHRS/AP_AHRS_NavEKF.h index 6a3ade1a58..cbf14af867 100644 --- a/libraries/AP_AHRS/AP_AHRS_NavEKF.h +++ b/libraries/AP_AHRS/AP_AHRS_NavEKF.h @@ -22,6 +22,8 @@ */ #include + +#define AP_AHRS_NAVEKF_AVAILABLE 1 #include "AP_AHRS.h" #if CONFIG_HAL_BOARD == HAL_BOARD_SITL @@ -33,7 +35,7 @@ #include #include // definitions shared by inertial and ekf nav filters -#define AP_AHRS_NAVEKF_AVAILABLE 1 + #define AP_AHRS_NAVEKF_SETTLE_TIME_MS 20000 // time in milliseconds the ekf needs to settle after being started class AP_AHRS_NavEKF : public AP_AHRS_DCM {