Skip to content

Commit 45f5449

Browse files
committed
prevent some devices from locking the SCL line
1 parent f3af437 commit 45f5449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-i2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
void i2cAttachSCL(i2c_t * i2c, int8_t scl)
2828
{
29-
pinMode(scl, OUTPUT_OPEN_DRAIN);
29+
pinMode(scl, OUTPUT);
3030
pinMatrixOutAttach(scl, I2C_SCL_IDX(i2c->num), false, false);
3131
pinMatrixInAttach(scl, I2C_SCL_IDX(i2c->num), false);
3232
}

0 commit comments

Comments
 (0)