mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Merge pull request #6446 from Faduf/YUPIF7_update
YUPIF7 update - I2C correction
This commit is contained in:
commit
f298280033
1 changed files with 3 additions and 2 deletions
|
@ -100,8 +100,8 @@
|
|||
#define USE_I2C
|
||||
#define USE_I2C_DEVICE_1
|
||||
#define USE_I2C_PULLUP
|
||||
#define I2C2_SCL PB8
|
||||
#define I2C2_SDA PB9
|
||||
#define I2C1_SCL PB8
|
||||
#define I2C1_SDA PB9
|
||||
#define I2C_DEVICE (I2CDEV_1)
|
||||
|
||||
#define BARO_I2C_INSTANCE (I2CDEV_1)
|
||||
|
@ -110,6 +110,7 @@
|
|||
#define USE_BARO_MS5611
|
||||
|
||||
//*********** Magnetometer / Compass *************
|
||||
#define MAG_I2C_INSTANCE (I2CDEV_1)
|
||||
#define USE_MAG
|
||||
#define USE_MAG_HMC5883
|
||||
#define USE_MAG_QMC5883
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue