From 6f152afae212720add46f1bc32141e781b96ceac Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 31 May 2011 00:48:38 +0200 Subject: [PATCH] also ifdef AHRS_UPDATE_FW_ESTIMATOR around declaration in header file --- sw/airborne/subsystems/ahrs/ahrs_int_cmpl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/airborne/subsystems/ahrs/ahrs_int_cmpl.h b/sw/airborne/subsystems/ahrs/ahrs_int_cmpl.h index ab0a7d939dc..4671621d267 100644 --- a/sw/airborne/subsystems/ahrs/ahrs_int_cmpl.h +++ b/sw/airborne/subsystems/ahrs/ahrs_int_cmpl.h @@ -41,11 +41,12 @@ struct AhrsIntCmpl { extern struct AhrsIntCmpl ahrs_impl; +#ifdef AHRS_UPDATE_FW_ESTIMATOR // TODO copy ahrs to state instead of estimator void ahrs_update_fw_estimator(void); extern float ins_roll_neutral; extern float ins_pitch_neutral; - +#endif #endif /* AHRS_INT_CMPL_H */