Activate pull ups for I2C port on AlienFlight F3, F4 and F7 targets

This commit is contained in:
Michael Jakob 2017-04-22 17:55:07 +02:00
parent c199bb5638
commit c59b3e9948
3 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,7 @@
#define UART3_RX_PIN PB11
#define USE_I2C
#define USE_I2C_PULLUP
#define USE_I2C_DEVICE_2
#define I2C_DEVICE (I2CDEV_2)
#define I2C2_SCL PA9

View File

@ -138,6 +138,7 @@
#define USE_SPI_DEVICE_3
#define USE_I2C
#define USE_I2C_PULLUP
#define USE_I2C_DEVICE_1
#define I2C_DEVICE (I2CDEV_1)
#define I2C1_SCL PB6

View File

@ -149,6 +149,7 @@
#define SPI3_MOSI_PIN PB5
#define USE_I2C
#define USE_I2C_PULLUP
#define I2C_DEVICE (I2CDEV_1)
//#define I2C_DEVICE_EXT (I2CDEV_2)
#define I2C1_SCL PB6