Merge pull request #6912 from flywoo/master

modify the scl pin -PB8 flywoo405 target
This commit is contained in:
Michael Keller 2018-10-16 00:03:39 +13:00 committed by GitHub
commit d193783e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -27,7 +27,7 @@ This board use the STM32F405RGT6 microcontroller and have the following features
| Value | Identifier | function | pin | Notes |
| ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- |
| 1 | I2C1 | SDA | PB9 | with GPS outlet
| 2 | I2C1 | SCL | PB6 | with GPS outlet
| 2 | I2C1 | SCL | PB8 | with GPS outlet
### Buzzer/LED output

View File

@ -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