From 03efb5be99878b9b1320e94cd5a90820de1fe242 Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Fri, 11 Mar 2016 12:15:42 +0100 Subject: [PATCH] boards/nucleo-l1: added PU to I2C config --- boards/nucleo-l1/include/periph_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/nucleo-l1/include/periph_conf.h b/boards/nucleo-l1/include/periph_conf.h index 92db33d20c..f546df3894 100644 --- a/boards/nucleo-l1/include/periph_conf.h +++ b/boards/nucleo-l1/include/periph_conf.h @@ -254,9 +254,9 @@ static const timer_conf_t timer_config[] = { static const i2c_conf_t i2c_config[] = { /* device, port, scl-, sda-pin-number, I2C-AF, ER-IRQn, EV-IRQn */ - {I2C1, GPIO_PIN(PORT_B, 8), GPIO_PIN(PORT_B, 9), + {I2C1, GPIO_PIN(PORT_B, 8), GPIO_PIN(PORT_B, 9), GPIO_OD_PU, GPIO_AF4, I2C1_ER_IRQn, I2C1_EV_IRQn}, - {I2C2, GPIO_PIN(PORT_B, 10), GPIO_PIN(PORT_B, 11), + {I2C2, GPIO_PIN(PORT_B, 10), GPIO_PIN(PORT_B, 11), GPIO_OD_PU, GPIO_AF4, I2C2_ER_IRQn, I2C2_EV_IRQn}, }; -- GitLab