mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Compass: fixed-yaw requires the AP_AHRS library to exist
This commit is contained in:
parent
185396ee27
commit
0e67209790
@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED
|
#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
|
#endif
|
||||||
|
|
||||||
#define COMPASS_MAX_SCALE_FACTOR 1.5
|
#define COMPASS_MAX_SCALE_FACTOR 1.5
|
||||||
|
Loading…
Reference in New Issue
Block a user