From 46e8f719c1902bbc37e5b31c38de17d5dc31b0e5 Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Wed, 21 Nov 2018 09:29:05 +0100 Subject: [PATCH] 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. --- boards/stm32f4discovery/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/stm32f4discovery/include/periph_conf.h b/boards/stm32f4discovery/include/periph_conf.h index 755e5dc4e4..097ccdd6e4 100644 --- a/boards/stm32f4discovery/include/periph_conf.h +++ b/boards/stm32f4discovery/include/periph_conf.h @@ -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,