From 1a5a49f9ecd4382dc7702231c8c337a6db7f8092 Mon Sep 17 00:00:00 2001 From: "Larry (TBS)" Date: Fri, 22 Apr 2016 17:03:47 +0800 Subject: [PATCH] - Enable MPU9250 hardware in Colibri Race --- Makefile | 1 + src/main/target/COLIBRI_RACE/target.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 9bbf85ea52..e916d3f5a7 100644 --- a/Makefile +++ b/Makefile @@ -602,6 +602,7 @@ COLIBRI_RACE_SRC = \ drivers/accgyro_spi_mpu6500.c \ drivers/accgyro_mpu6500.c \ drivers/barometer_ms5611.c \ + drivers/compass_ak8963.c \ drivers/compass_ak8975.c \ drivers/compass_hmc5883l.c \ drivers/display_ug2864hsweg01.c \ diff --git a/src/main/target/COLIBRI_RACE/target.h b/src/main/target/COLIBRI_RACE/target.h index 4b9f5c634f..71726750d2 100755 --- a/src/main/target/COLIBRI_RACE/target.h +++ b/src/main/target/COLIBRI_RACE/target.h @@ -73,7 +73,9 @@ #define USE_BARO_MS5611 #define MAG +#define USE_MPU9250_MAG #define USE_MAG_HMC5883 +#define USE_MAG_AK8963 #define USE_MAG_AK8975 #define BEEPER