mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
at32: add PC6 and PC7 as i2c pins (#13760)
This commit is contained in:
parent
cf6d1c1eb6
commit
75f94d8c5c
1 changed files with 2 additions and 0 deletions
|
@ -49,10 +49,12 @@ const i2cHardware_t i2cHardware[I2CDEV_COUNT] = {
|
|||
.sclPins = {
|
||||
I2CPINDEF(PB6, GPIO_MUX_4),
|
||||
I2CPINDEF(PB8, GPIO_MUX_4),
|
||||
I2CPINDEF(PC6, GPIO_MUX_4),
|
||||
},
|
||||
.sdaPins = {
|
||||
I2CPINDEF(PB7, GPIO_MUX_4),
|
||||
I2CPINDEF(PB9, GPIO_MUX_4),
|
||||
I2CPINDEF(PC7, GPIO_MUX_4),
|
||||
},
|
||||
.rcc = RCC_APB1(I2C1),
|
||||
.ev_irq = I2C1_EVT_IRQn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue