From e33bec4830b9d33be8d67521215d992cd3590849 Mon Sep 17 00:00:00 2001 From: Michel Pastor Date: Sun, 25 Nov 2018 22:01:20 +0100 Subject: [PATCH] Enable mag on ASGARD32F7 --- src/main/target/ASGARD32F7/target.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/target/ASGARD32F7/target.h b/src/main/target/ASGARD32F7/target.h index 8cb2e5e6d4..d802e7cbfa 100644 --- a/src/main/target/ASGARD32F7/target.h +++ b/src/main/target/ASGARD32F7/target.h @@ -49,13 +49,13 @@ #define GYRO_MPU6000_ALIGN CW90_DEG #define ACC_MPU6000_ALIGN CW90_DEG -// #define USE_MAG -// #define MAG_I2C_BUS BUS_I2C2 -// #define USE_MAG_HMC5883 -// #define USE_MAG_QMC5883 -// #define USE_MAG_IST8310 -// #define USE_MAG_MAG3110 -// #define USE_MAG_LIS3MDL +#define USE_MAG +#define MAG_I2C_BUS BUS_I2C2 +#define USE_MAG_HMC5883 +#define USE_MAG_QMC5883 +#define USE_MAG_IST8310 +#define USE_MAG_MAG3110 +#define USE_MAG_LIS3MDL #define USE_BARO @@ -171,4 +171,4 @@ #define TARGET_IO_PORTC 0xffff #define TARGET_IO_PORTD 0xffff -#define PCA9685_I2C_BUS BUS_I2C2 \ No newline at end of file +#define PCA9685_I2C_BUS BUS_I2C2