1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

[4.5.1] AT32: Add PC6 and PC7 I2C pins (#13761)

This commit is contained in:
Mark Haslinghuis 2024-07-10 02:48:43 +02:00 committed by GitHub
parent ec8c59b49b
commit 72101c4f1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,