summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2018-12-19 14:56:44 +0100
committerDrashna Jaelre <drashna@live.com>2018-12-19 20:52:05 +0100
commitdf33618b26bb7ff0c0eff619b2d638490c514ce4 (patch)
tree67ffbae5d12ba0e704c63bae5da5fc9f22d458b6 /drivers
parentfdeec296369c0995bad1117e50946b2df84f35e4 (diff)
downloadqmk_firmware-df33618b26bb7ff0c0eff619b2d638490c514ce4.tar.gz
qmk_firmware-df33618b26bb7ff0c0eff619b2d638490c514ce4.tar.xz
Minor STM32 i2c driver cleanup
Diffstat (limited to 'drivers')
-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 = {
__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);