From 0e67209790cdafebeb22a99091e9c9c4a3ae0ae1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 4 Jan 2024 12:09:54 +1100 Subject: [PATCH] AP_Compass: fixed-yaw requires the AP_AHRS library to exist --- libraries/AP_Compass/AP_Compass_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Compass/AP_Compass_config.h b/libraries/AP_Compass/AP_Compass_config.h index df53675ea8..f032d0f9f8 100644 --- a/libraries/AP_Compass/AP_Compass_config.h +++ b/libraries/AP_Compass/AP_Compass_config.h @@ -19,7 +19,7 @@ #endif #ifndef AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED -#define AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED AP_COMPASS_ENABLED && AP_GPS_ENABLED +#define AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED AP_COMPASS_ENABLED && AP_GPS_ENABLED && AP_AHRS_ENABLED #endif #define COMPASS_MAX_SCALE_FACTOR 1.5