diff options
| -rw-r--r-- | drivers/arm/i2c_master.c | 2 |
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)) |
| 46 | void i2c_init(void) | 46 | void 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); |
