From c7d7dd3b7062f8931b6a560010f97daaa79e8d68 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:50:38 -0500 Subject: [PATCH] [target] fix GEPRCF722 redefine (#1049) --- src/main/target/GEPRCF722/target.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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