put back pullup setting

This commit is contained in:
Dan Halbert 2021-03-12 08:20:09 -05:00
parent c71b6cb699
commit 0ce5b2f594
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self,
.mode = I2C_MODE_MASTER, .mode = I2C_MODE_MASTER,
.sda_io_num = self->sda_pin->number, .sda_io_num = self->sda_pin->number,
.scl_io_num = self->scl_pin->number, .scl_io_num = self->scl_pin->number,
.sda_pullup_en = GPIO_PULLUP_DISABLE, /*!< Internal GPIO pull mode for I2C sda signal*/
.scl_pullup_en = GPIO_PULLUP_DISABLE, /*!< Internal GPIO pull mode for I2C scl signal*/
.master = { .master = {
.clk_speed = frequency, .clk_speed = frequency,