File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 105105#define USE_I2C_DEVICE_1 // Connected to BMP388 only
106106#define I2C1_SCL_PIN PB8
107107#define I2C1_SDA_PIN PB9
108- #define I2C_DEVICE I2CDEV_1
108+ #define I2C_DEVICE I2CDEV_1
109109
110110#define I2C2_SCL_PIN NONE
111111#define I2C2_SDA_PIN NONE
138138#define USE_ACC_SPI_MPU6500
139139#define USE_GYRO
140140#define USE_GYRO_SPI_MPU6500
141+ #define USE_BARO
141142#define USE_BARO_BMP388
142143#define USE_MAG
143144#define USE_MAG_HMC5883
218219 TIMER_PIN_MAP(17, PB0, 2, 0) \
219220 TIMER_PIN_MAP(18, PB1, 2, 0)
220221
221- #define TIMUP1_DMA_OPT 0
222- #define TIMUP2_DMA_OPT 0
223- #define TIMUP3_DMA_OPT 0
224- #define TIMUP4_DMA_OPT 0
225- #define TIMUP5_DMA_OPT 0
226- #define TIMUP8_DMA_OPT 2
227-
228- #define MAG_I2C_INSTANCE I2CDEV_1
229-
230- #define USE_BARO
231- #define BARO_I2C_INSTANCE I2CDEV_1
222+ #define MAG_I2C_INSTANCE I2CDEV_1
223+ #define BARO_I2C_INSTANCE I2CDEV_1
232224
233225#define GYRO_1_SPI_INSTANCE SPI3
234226#define GYRO_1_ALIGN CW180_DEG
You can’t perform that action at this time.
0 commit comments