diff --git a/src/main/target/SPRACINGF3EVO/target.h b/src/main/target/SPRACINGF3EVO/target.h index 0ecff9cdc..aee30e440 100755 --- a/src/main/target/SPRACINGF3EVO/target.h +++ b/src/main/target/SPRACINGF3EVO/target.h @@ -58,6 +58,7 @@ #define USE_BARO_BMP280 #define MAG +#define USE_MPU9250_MAG // Enables bypass configuration #define USE_MAG_AK8963 //#define USE_MAG_HMC5883 // External diff --git a/src/main/target/SPRACINGF3MINI/target.mk b/src/main/target/SPRACINGF3MINI/target.mk index 1ed60a29c..ef4cf55a7 100644 --- a/src/main/target/SPRACINGF3MINI/target.mk +++ b/src/main/target/SPRACINGF3MINI/target.mk @@ -5,9 +5,9 @@ TARGET_SRC = \ drivers/accgyro_mpu.c \ drivers/accgyro_mpu6500.c \ drivers/barometer_bmp280.c \ + drivers/compass_ak8963.c \ drivers/compass_ak8975.c \ drivers/compass_hmc5883l.c \ - drivers/compass_ak8963.c \ drivers/flash_m25p16.c ifeq ($(TARGET), TINYBEEF3)