From 84a15304a1f54677b096f5379b53849fdcc05250 Mon Sep 17 00:00:00 2001 From: Staroselskii Georgii Date: Fri, 21 Nov 2014 19:29:42 +0300 Subject: [PATCH] Copter: added AK8963 support --- ArduCopter/ArduCopter.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 02b4f96a3b..cc543f9c08 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -283,6 +283,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