1
0
Fork 0
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:
Benedikt Kleiner 2024-07-10 02:48:54 +02:00 committed by GitHub
parent cf6d1c1eb6
commit 75f94d8c5c
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 = {
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,