diff --git a/cores/esp32/esp32-hal-i2c.c b/cores/esp32/esp32-hal-i2c.c index 83a527c0..bb78e71d 100644 --- a/cores/esp32/esp32-hal-i2c.c +++ b/cores/esp32/esp32-hal-i2c.c @@ -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); }