mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 11:55:41 +08:00
[boards] Fix LisaMX v2.1 chibios I2C definitions (#2948)
This commit is contained in:
@@ -1283,6 +1283,8 @@
|
||||
/**
|
||||
* I2C defines
|
||||
*/
|
||||
#define LINE_I2C1_SCL PAL_LINE(GPIOB, 6U)
|
||||
#define LINE_I2C1_SDA PAL_LINE(GPIOB, 7U)
|
||||
#define I2C1_CLOCK_SPEED 400000
|
||||
#define I2C1_CFG_DEF { \
|
||||
OPMODE_I2C, \
|
||||
@@ -1290,6 +1292,8 @@
|
||||
FAST_DUTY_CYCLE_2, \
|
||||
}
|
||||
|
||||
#define LINE_I2C2_SCL PAL_LINE(GPIOB, 10U)
|
||||
#define LINE_I2C2_SDA PAL_LINE(GPIOB, 11U)
|
||||
#define I2C2_CLOCK_SPEED 400000
|
||||
#define I2C2_CFG_DEF { \
|
||||
OPMODE_I2C, \
|
||||
|
||||
Reference in New Issue
Block a user