AP_AHRS: use AP_AHRS_BACKEND_DEFAULT_ENABLED for sim and navkef3

This commit is contained in:
Peter Barker 2024-01-12 13:52:09 +11:00 committed by Andrew Tridgell
parent 18c5daaa38
commit 02ef8bf18a

View File

@ -21,11 +21,11 @@
#endif
#ifndef HAL_NAVEKF3_AVAILABLE
#define HAL_NAVEKF3_AVAILABLE AP_INERTIALSENSOR_ENABLED
#define HAL_NAVEKF3_AVAILABLE AP_AHRS_BACKEND_DEFAULT_ENABLED && AP_INERTIALSENSOR_ENABLED
#endif
#ifndef AP_AHRS_SIM_ENABLED
#define AP_AHRS_SIM_ENABLED AP_SIM_ENABLED && AP_INERTIALSENSOR_ENABLED
#define AP_AHRS_SIM_ENABLED AP_AHRS_BACKEND_DEFAULT_ENABLED && AP_SIM_ENABLED && AP_INERTIALSENSOR_ENABLED
#endif
#ifndef AP_AHRS_POSITION_RESET_ENABLED