From 270f0dfc7c331195a407f6e9d9a396231b3ae2ed Mon Sep 17 00:00:00 2001 From: Hierophect Date: Wed, 8 Jan 2020 15:58:20 -0500 Subject: [PATCH] text fix --- ports/stm32f4/common-hal/busio/I2C.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/stm32f4/common-hal/busio/I2C.c b/ports/stm32f4/common-hal/busio/I2C.c index 37c13a9c4d..68a27c673f 100644 --- a/ports/stm32f4/common-hal/busio/I2C.c +++ b/ports/stm32f4/common-hal/busio/I2C.c @@ -110,7 +110,7 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self, GPIO_InitStruct.Alternate = self->scl->altfn_index; HAL_GPIO_Init(pin_port(scl->port), &GPIO_InitStruct); - //Note: clock reset must be before GPIO init, due to I2C soft reboot issue + //Note: due to I2C soft reboot issue, do not relocate clock init. i2c_clock_enable(1<<(self->sda->i2c_index - 1)); reserved_i2c[self->sda->i2c_index - 1] = true;