|
|
@ -283,6 +283,8 @@ static AP_Compass_VRBRAIN compass; |
|
|
|
static AP_Compass_HMC5843 compass; |
|
|
|
static AP_Compass_HMC5843 compass; |
|
|
|
#elif CONFIG_COMPASS == HAL_COMPASS_HIL |
|
|
|
#elif CONFIG_COMPASS == HAL_COMPASS_HIL |
|
|
|
static AP_Compass_HIL compass; |
|
|
|
static AP_Compass_HIL compass; |
|
|
|
|
|
|
|
#elif CONFIG_COMPASS == HAL_COMPASS_AK8963 |
|
|
|
|
|
|
|
static AP_Compass_AK8963_MPU9250 compass; |
|
|
|
#else |
|
|
|
#else |
|
|
|
#error Unrecognized CONFIG_COMPASS setting |
|
|
|
#error Unrecognized CONFIG_COMPASS setting |
|
|
|
#endif |
|
|
|
#endif |
|
|
|