We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae22305 commit 270f0dfCopy full SHA for 270f0df
ports/stm32f4/common-hal/busio/I2C.c
@@ -110,7 +110,7 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self,
110
GPIO_InitStruct.Alternate = self->scl->altfn_index;
111
HAL_GPIO_Init(pin_port(scl->port), &GPIO_InitStruct);
112
113
- //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.
114
i2c_clock_enable(1<<(self->sda->i2c_index - 1));
115
reserved_i2c[self->sda->i2c_index - 1] = true;
116
0 commit comments