Skip to content

Commit 1fc4955

Browse files
authored
Remove redefined mag_i2c_instance BETAFPVF405 (#886)
1 parent 3bd1953 commit 1fc4955

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configs/BETAFPVF405/config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
#define UART6_RX_PIN PC7
6363
#define I2C1_SCL_PIN PB8
6464
#define I2C1_SDA_PIN PB9
65-
#define MAG_I2C_INSTANCE I2CDEV_1
6665
#define INVERTER_PIN_UART3 PC9
6766
#define INVERTER_PIN_UART6 PC8
6867
#define LED0_PIN PB5
@@ -103,7 +102,7 @@
103102

104103
#define ADC2_DMA_OPT 1
105104

106-
#define MAG_I2C_INSTANCE I2CDEV_2
105+
#define MAG_I2C_INSTANCE I2CDEV_1
107106
#define BARO_SPI_INSTANCE SPI3
108107
#define DEFAULT_BARO_DEVICE BARO_NONE
109108

0 commit comments

Comments
 (0)