Skip to content

Commit 270f0df

Browse files
committed
text fix
1 parent ae22305 commit 270f0df

File tree

1 file changed

+1
-1
lines changed
  • ports/stm32f4/common-hal/busio

1 file changed

+1
-1
lines changed

ports/stm32f4/common-hal/busio/I2C.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self,
110110
GPIO_InitStruct.Alternate = self->scl->altfn_index;
111111
HAL_GPIO_Init(pin_port(scl->port), &GPIO_InitStruct);
112112

113-
//Note: clock reset must be before GPIO init, due to I2C soft reboot issue
113+
//Note: due to I2C soft reboot issue, do not relocate clock init.
114114
i2c_clock_enable(1<<(self->sda->i2c_index - 1));
115115
reserved_i2c[self->sda->i2c_index - 1] = true;
116116

0 commit comments

Comments
 (0)