mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Merge pull request #6912 from flywoo/master
modify the scl pin -PB8 flywoo405 target
This commit is contained in:
commit
d193783e66
2 changed files with 1 additions and 6 deletions
|
@ -88,12 +88,7 @@
|
|||
#define USE_I2C_DEVICE_1
|
||||
#define I2C_DEVICE (I2CDEV_1)
|
||||
|
||||
#if defined(FLYWOOF405)
|
||||
#define I2C1_SCL PB6
|
||||
#else
|
||||
#define I2C1_SCL PB8 // SCL pad
|
||||
#endif
|
||||
|
||||
#define I2C1_SDA PB9 // SDA pad
|
||||
#define BARO_I2C_INSTANCE I2C_DEVICE
|
||||
#define MAG_I2C_INSTANCE I2C_DEVICE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue