put back pullup setting
This commit is contained in:
parent
c71b6cb699
commit
0ce5b2f594
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue