1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00

boards/stm32f4discovery: Change sda pin

This commit changes the I2C0 SDA pin to 9 from 7.
This is because the CS43L22 is connected to scl6 and sda9.
This commit is contained in:
MrKevinWeiss 2018-11-21 09:29:05 +01:00
parent afe3d676a5
commit 46e8f719c1

View File

@ -196,7 +196,7 @@ static const i2c_conf_t i2c_config[] = {
.dev = I2C1,
.speed = I2C_SPEED_NORMAL,
.scl_pin = GPIO_PIN(PORT_B, 6),
.sda_pin = GPIO_PIN(PORT_B, 7),
.sda_pin = GPIO_PIN(PORT_B, 9),
.scl_af = GPIO_AF4,
.sda_af = GPIO_AF4,
.bus = APB1,