Rover: added AK8963 support

This commit is contained in:
Staroselskii Georgii 2014-11-21 19:28:46 +03:00 committed by Andrew Tridgell
parent 0d1cf347c7
commit 9f54c4920e

View File

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