AP_Compass: fixed-yaw requires the AP_AHRS library to exist

This commit is contained in:
Peter Barker 2024-01-04 12:09:54 +11:00 committed by Peter Barker
parent 185396ee27
commit 0e67209790

View File

@ -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