1
0
Fork 0
forked from forks/qmk_firmware

Minor STM32 i2c driver cleanup

This commit is contained in:
yiancar 2018-12-19 13:56:44 +00:00 committed by Drashna Jaelre
parent fdeec29636
commit df33618b26

View file

@ -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);