mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
[4.5.1] AT32: Add PC6 and PC7 I2C pins (#13761)
This commit is contained in:
parent
ec8c59b49b
commit
72101c4f1c
1 changed files with 2 additions and 0 deletions
|
@ -49,10 +49,12 @@ const i2cHardware_t i2cHardware[I2CDEV_COUNT] = {
|
||||||
.sclPins = {
|
.sclPins = {
|
||||||
I2CPINDEF(PB6, GPIO_MUX_4),
|
I2CPINDEF(PB6, GPIO_MUX_4),
|
||||||
I2CPINDEF(PB8, GPIO_MUX_4),
|
I2CPINDEF(PB8, GPIO_MUX_4),
|
||||||
|
I2CPINDEF(PC6, GPIO_MUX_4),
|
||||||
},
|
},
|
||||||
.sdaPins = {
|
.sdaPins = {
|
||||||
I2CPINDEF(PB7, GPIO_MUX_4),
|
I2CPINDEF(PB7, GPIO_MUX_4),
|
||||||
I2CPINDEF(PB9, GPIO_MUX_4),
|
I2CPINDEF(PB9, GPIO_MUX_4),
|
||||||
|
I2CPINDEF(PC7, GPIO_MUX_4),
|
||||||
},
|
},
|
||||||
.rcc = RCC_APB1(I2C1),
|
.rcc = RCC_APB1(I2C1),
|
||||||
.ev_irq = I2C1_EVT_IRQn,
|
.ev_irq = I2C1_EVT_IRQn,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue