Skip to content

Commit

Permalink
AP_AHRS: use AP_AHRS_BACKEND_DEFAULT_ENABLED for sim and navkef3
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Jan 16, 2024
1 parent 18c5daa commit 02ef8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_AHRS/AP_AHRS_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02ef8bf

Please sign in to comment.