1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

boards/nucleo-f303re: fix I2C[1] sda_pin and scl_af settings

This commit is contained in:
Raimund Oude Hengel 2021-04-03 05:32:15 +02:00
parent 73ccd1e2e7
commit 030ac02004

View File

@ -195,8 +195,8 @@ static const i2c_conf_t i2c_config[] = {
.dev = I2C3,
.speed = I2C_SPEED_NORMAL,
.scl_pin = GPIO_PIN(PORT_A, 8),
.sda_pin = GPIO_PIN(PORT_A, 5),
.scl_af = GPIO_AF5,
.sda_pin = GPIO_PIN(PORT_B, 5),
.scl_af = GPIO_AF3,
.sda_af = GPIO_AF8,
.bus = APB1,
.rcc_mask = RCC_APB1ENR_I2C3EN,