AP_AHRS: use AP_AHRS_BACKEND_DEFAULT_ENABLED for sim and navkef3
This commit is contained in:
parent
18c5daaa38
commit
02ef8bf18a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user