From 0b205b499208f032540f81215f313948598a904e Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Wed, 15 Sep 2021 15:00:09 -0500 Subject: [PATCH] another bad code ; hardcoded baro issue #702 --- src/main/target/MATEKF411/target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/target/MATEKF411/target.h b/src/main/target/MATEKF411/target.h index eb4963f0ec..c8ec77db73 100644 --- a/src/main/target/MATEKF411/target.h +++ b/src/main/target/MATEKF411/target.h @@ -65,8 +65,8 @@ #define USE_I2C_DEVICE_2 #define I2C_DEVICE (I2CDEV_2) -#define I2C1_SCL PB10 // SCL pad -#define I2C1_SDA PB3 // SDA pad +#define I2C2_SCL PB10 // SCL pad +#define I2C2_SDA PB3 // SDA pad #define BARO_I2C_INSTANCE (I2CDEV_2) #define USE_BARO