Skip to content

Commit 0ce5b2f

Browse files
committed
put back pullup setting
1 parent c71b6cb commit 0ce5b2f

File tree

1 file changed

+2
-0
lines changed
  • ports/esp32s2/common-hal/busio

1 file changed

+2
-0
lines changed

ports/esp32s2/common-hal/busio/I2C.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self,
112112
.mode = I2C_MODE_MASTER,
113113
.sda_io_num = self->sda_pin->number,
114114
.scl_io_num = self->scl_pin->number,
115+
.sda_pullup_en = GPIO_PULLUP_DISABLE, /*!< Internal GPIO pull mode for I2C sda signal*/
116+
.scl_pullup_en = GPIO_PULLUP_DISABLE, /*!< Internal GPIO pull mode for I2C scl signal*/
115117

116118
.master = {
117119
.clk_speed = frequency,

0 commit comments

Comments
 (0)