diff --git a/src/main/target/SPRACINGF3/target.h b/src/main/target/SPRACINGF3/target.h index dbe2ae9c6..94cd16bae 100644 --- a/src/main/target/SPRACINGF3/target.h +++ b/src/main/target/SPRACINGF3/target.h @@ -55,10 +55,10 @@ #define USE_BARO_MS5611 #define USE_BARO_BMP085 -//#define MAG -//#define USE_MAG_AK8975 -//#define USE_MAG_HMC5883 -//#define MAG_HMC5883_ALIGN CW270_DEG +#define MAG +#define USE_MAG_AK8975 +#define USE_MAG_HMC5883 +#define MAG_HMC5883_ALIGN CW270_DEG #define USE_MAG_DATA_READY_SIGNAL #define ENSURE_MAG_DATA_READY_IS_HIGH diff --git a/src/main/target/SPRACINGF3MINI/target.h b/src/main/target/SPRACINGF3MINI/target.h index 24bfcfc5e..35b74f156 100644 --- a/src/main/target/SPRACINGF3MINI/target.h +++ b/src/main/target/SPRACINGF3MINI/target.h @@ -51,11 +51,11 @@ #define BARO #define USE_BARO_BMP280 -//#define MAG -//#define USE_MPU9250_MAG // Enables bypass configuration -//#define USE_MAG_AK8975 -//#define USE_MAG_HMC5883 // External -//#define MAG_AK8975_ALIGN CW90_DEG_FLIP +#define MAG +#define USE_MPU9250_MAG // Enables bypass configuration +#define USE_MAG_AK8975 +#define USE_MAG_HMC5883 // External +#define MAG_AK8975_ALIGN CW90_DEG_FLIP //#define SONAR //#define SONAR_ECHO_PIN PB1