diff --git a/src/main/target/GEPRCF722/target.h b/src/main/target/GEPRCF722/target.h index 346031b9d5..04f4d1c9be 100644 --- a/src/main/target/GEPRCF722/target.h +++ b/src/main/target/GEPRCF722/target.h @@ -104,13 +104,13 @@ #define USE_I2C #define USE_I2C_DEVICE_1 -#define I2C_DEVICE (I2CDEV_1) -#define MAG_I2C_INSTANCE (I2CDEV_1) +#define I2C_DEVICE_1 (I2CDEV_1) +#define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) #define I2C1_SCL PB8 #define I2C1_SDA PB9 #define USE_I2C_DEVICE_2 -#define I2C_DEVICE (I2CDEV_2) +#define I2C_DEVICE_2 (I2CDEV_2) #define I2C2_SCL PB10 #define I2C2_SDA PB11