qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit b13162f7fd5a4c09dff15ff6f9713526622925a7
parent df33618b26bb7ff0c0eff619b2d638490c514ce4
Author: yiancar <yiangosyiangou@cytanet.com.cy>
Date:   Wed, 19 Dec 2018 13:59:58 +0000

Also fix use of weak stm32 internal pullup
Diffstat:
drivers/arm/i2c_master.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/arm/i2c_master.c b/drivers/arm/i2c_master.c @@ -51,8 +51,8 @@ void i2c_init(void) chThdSleepMilliseconds(10); - palSetPadMode(GPIOB, 6, PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_PUPDR_PULLUP); - palSetPadMode(GPIOB, 7, PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_PUPDR_PULLUP); + palSetPadMode(GPIOB, 6, PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN); + palSetPadMode(GPIOB, 7, PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN); //i2cInit(); //This is invoked by halInit() so no need to redo it. }