aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/arm/i2c_master.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/arm/i2c_master.c b/drivers/arm/i2c_master.c
index ab962ea95..4417dc985 100644
--- a/drivers/arm/i2c_master.c
+++ b/drivers/arm/i2c_master.c
@@ -45,8 +45,6 @@ static const I2CConfig i2cconfig = {
45__attribute__ ((weak)) 45__attribute__ ((weak))
46void i2c_init(void) 46void i2c_init(void)
47{ 47{
48 //palSetGroupMode(GPIOB, GPIOB_PIN6 | GPIOB_PIN7, 0, PAL_MODE_INPUT);
49
50 // Try releasing special pins for a short time 48 // Try releasing special pins for a short time
51 palSetPadMode(GPIOB, 6, PAL_MODE_INPUT); 49 palSetPadMode(GPIOB, 6, PAL_MODE_INPUT);
52 palSetPadMode(GPIOB, 7, PAL_MODE_INPUT); 50 palSetPadMode(GPIOB, 7, PAL_MODE_INPUT);