1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

G4: Change SDA2 to PA8 (#12400)

This commit is contained in:
David O'Connor 2023-02-27 16:05:41 -05:00 committed by GitHub
parent fbca7f06f3
commit 29379a10c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,8 +165,8 @@ const i2cHardware_t i2cHardware[I2CDEV_COUNT] = {
{
.device = I2CDEV_2,
.reg = I2C2,
.sclPins = { I2CPINDEF(PA9, GPIO_AF4_I2C2), },
.sdaPins = { I2CPINDEF(PA10, GPIO_AF4_I2C2), },
.sclPins = { I2CPINDEF(PA9, GPIO_AF4_I2C2) },
.sdaPins = { I2CPINDEF(PA8, GPIO_AF4_I2C2), I2CPINDEF(PF6, GPIO_AF4_I2C2) },
.rcc = RCC_APB11(I2C2),
.ev_irq = I2C2_EV_IRQn,
.er_irq = I2C2_ER_IRQn,