提交 45f5449f 编写于 作者: M me-no-dev

prevent some devices from locking the SCL line

上级 f3af4377
......@@ -26,7 +26,7 @@
void i2cAttachSCL(i2c_t * i2c, int8_t scl)
{
pinMode(scl, OUTPUT_OPEN_DRAIN);
pinMode(scl, OUTPUT);
pinMatrixOutAttach(scl, I2C_SCL_IDX(i2c->num), false, false);
pinMatrixInAttach(scl, I2C_SCL_IDX(i2c->num), false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册