feat(esp32s3_i2c): do not destuck every transaction
It looks like we do not need to send the 9 clock ticks whenever we reset the FSM. We are already doing this in i2c_reset function if necessary. This makes the i2c transfers much faster, for example the i2c(-tool) dev scan feature.
This commit is contained in:
parent
141dc1e3e7
commit
f25a382c1a
@ -820,8 +820,6 @@ static void i2c_reset_fsmc(struct esp32s3_i2c_priv_s *priv)
|
||||
/* Reset FSM machine */
|
||||
|
||||
modifyreg32(I2C_CTR_REG(priv->id), 0, I2C_FSM_RST);
|
||||
|
||||
i2c_clear_bus(priv);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user