Skip to content

Commit fa34b8a

Browse files
committed
correct clock stretch timeout for board.I2C()
1 parent 24f4d98 commit fa34b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/board/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ mp_obj_t common_hal_board_create_i2c(void) {
6060
busio_i2c_obj_t *self = &i2c_obj;
6161
self->base.type = &busio_i2c_type;
6262

63-
common_hal_busio_i2c_construct(self, DEFAULT_I2C_BUS_SCL, DEFAULT_I2C_BUS_SDA, 100000, 0);
63+
common_hal_busio_i2c_construct(self, DEFAULT_I2C_BUS_SCL, DEFAULT_I2C_BUS_SDA, 100000, 255);
6464
i2c_singleton = (mp_obj_t)self;
6565
return i2c_singleton;
6666
}

0 commit comments

Comments
 (0)