From fa4abdb0ae77c32064a7b55510384642150cce8f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 14 Jul 2014 09:22:15 +1000 Subject: [PATCH] Copter: added support for MPU9250 --- ArduCopter/ArduCopter.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 57f75b53ae..abcdedb9a7 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -266,6 +266,8 @@ static AP_ADC_ADS7844 adc; #if CONFIG_IMU_TYPE == CONFIG_IMU_MPU6000 static AP_InertialSensor_MPU6000 ins; +#elif CONFIG_IMU_TYPE == CONFIG_IMU_MPU9250 +static AP_InertialSensor_MPU9250 ins; #elif CONFIG_IMU_TYPE == CONFIG_IMU_OILPAN static AP_InertialSensor_Oilpan ins(&adc); #elif CONFIG_IMU_TYPE == CONFIG_IMU_SITL