diff options
| author | yiancar <yiangosyiangou@cytanet.com.cy> | 2018-12-19 13:56:44 +0000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-12-19 11:52:05 -0800 |
| commit | df33618b26bb7ff0c0eff619b2d638490c514ce4 (patch) | |
| tree | 67ffbae5d12ba0e704c63bae5da5fc9f22d458b6 /drivers | |
| parent | fdeec296369c0995bad1117e50946b2df84f35e4 (diff) | |
| download | qmk_firmware-df33618b26bb7ff0c0eff619b2d638490c514ce4.tar.gz qmk_firmware-df33618b26bb7ff0c0eff619b2d638490c514ce4.zip | |
Minor STM32 i2c driver cleanup
Diffstat (limited to 'drivers')
| -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); |
