diff --git a/src/main/drivers/bus_i2c_stm32f10x.c b/src/main/drivers/bus_i2c_stm32f10x.c index c7e972b2d7..72cf8769c2 100644 --- a/src/main/drivers/bus_i2c_stm32f10x.c +++ b/src/main/drivers/bus_i2c_stm32f10x.c @@ -422,6 +422,9 @@ void i2cInit(I2CDevice device) I2C_Cmd(i2c->dev, ENABLE); I2C_Init(i2c->dev, &i2cInit); + + I2C_StretchClockCmd(i2c->dev, ENABLE); + // I2C ER Interrupt nvic.NVIC_IRQChannel = i2c->er_irq; diff --git a/src/main/drivers/bus_i2c_stm32f30x.c b/src/main/drivers/bus_i2c_stm32f30x.c index cc78da8d60..11704a3f90 100644 --- a/src/main/drivers/bus_i2c_stm32f30x.c +++ b/src/main/drivers/bus_i2c_stm32f30x.c @@ -107,6 +107,8 @@ void i2cInit(I2CDevice device) I2C_Init(I2Cx, &i2cInit); + I2C_StretchClockCmd(I2Cx, ENABLE); + I2C_Cmd(I2Cx, ENABLE); }