summaryrefslogtreecommitdiffstats
path: root/drivers/arm
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2018-12-19 13:56:44 +0000
committerDrashna Jaelre <drashna@live.com>2018-12-19 11:52:05 -0800
commitdf33618b26bb7ff0c0eff619b2d638490c514ce4 (patch)
tree67ffbae5d12ba0e704c63bae5da5fc9f22d458b6 /drivers/arm
parentfdeec296369c0995bad1117e50946b2df84f35e4 (diff)
Minor STM32 i2c driver cleanup
Diffstat (limited to 'drivers/arm')
-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 ab962ea959..4417dc9851 100644
--- a/drivers/arm/i2c_master.c
+++ b/drivers/arm/i2c_master.c
@@ -45,8 +45,6 @@ static const I2CConfig i2cconfig = {
__attribute__ ((weak))
void i2c_init(void)
{
- //palSetGroupMode(GPIOB, GPIOB_PIN6 | GPIOB_PIN7, 0, PAL_MODE_INPUT);
-
// Try releasing special pins for a short time
palSetPadMode(GPIOB, 6, PAL_MODE_INPUT);
palSetPadMode(GPIOB, 7, PAL_MODE_INPUT);