We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189f2d5 commit 360c876Copy full SHA for 360c876
ports/mimxrt10xx/common-hal/busio/I2C.c
@@ -98,11 +98,13 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self,
98
99
LPI2C_MasterInit(self->i2c, &config, I2C_CLOCK_FREQ);
100
101
+#if CIRCUITPY_REQUIRE_I2C_PULLUPS
102
// if (!gpio_get_pin_level(sda->number) || !gpio_get_pin_level(scl->number)) {
103
// reset_pin_number(sda->number);
104
// reset_pin_number(scl->number);
105
// mp_raise_RuntimeError(translate("SDA or SCL needs a pull up"));
106
// }
107
+#endif
108
109
claim_pin(self->sda_pin->pin);
110
claim_pin(self->scl_pin->pin);
0 commit comments