Skip to content

Commit

Permalink
AP_Compass: fixed-yaw requires the AP_AHRS library to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Feb 6, 2024
1 parent 5caaf82 commit 380c1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Compass/AP_Compass_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 380c1ae

Please sign in to comment.