Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Hosted Weblate 2021-03-12 04:26:17 +01:00
commit 054908b912

View File

@ -60,7 +60,7 @@ mp_obj_t common_hal_board_create_i2c(void) {
busio_i2c_obj_t *self = &i2c_obj; busio_i2c_obj_t *self = &i2c_obj;
self->base.type = &busio_i2c_type; self->base.type = &busio_i2c_type;
common_hal_busio_i2c_construct(self, DEFAULT_I2C_BUS_SCL, DEFAULT_I2C_BUS_SDA, 100000, 0); common_hal_busio_i2c_construct(self, DEFAULT_I2C_BUS_SCL, DEFAULT_I2C_BUS_SDA, 100000, 255);
i2c_singleton = (mp_obj_t)self; i2c_singleton = (mp_obj_t)self;
return i2c_singleton; return i2c_singleton;
} }