fix I2C on AirbotV2 board

This commit is contained in:
night-ghost 2018-05-04 14:01:44 +05:00 committed by Andrew Tridgell
parent d4d7d1f734
commit beecfcbae6

View File

@ -96,6 +96,14 @@
//TODO add #define BOARD_HAS_UART3 ?
#define I2C1_SDA PB9
#define I2C1_SCL PB8
#define I2C2_SDA PB11
#define I2C2_SCL PB10
//#define BOARD_I2C_BUS_INT 1 // hardware internal I2C
#define BOARD_I2C_BUS_EXT 1 // external I2C
#define BOARD_I2C_BUS_SLOW 1 // slow down bus with this number