Add an s because grammar.
This commit is contained in:
parent
37538fc0e7
commit
25ba8ee489
@ -81,7 +81,7 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self,
|
|||||||
gpio_set_pin_pull_mode(scl->pin, GPIO_PULL_OFF);
|
gpio_set_pin_pull_mode(scl->pin, GPIO_PULL_OFF);
|
||||||
|
|
||||||
if (!gpio_get_pin_level(sda->pin) || !gpio_get_pin_level(scl->pin)) {
|
if (!gpio_get_pin_level(sda->pin) || !gpio_get_pin_level(scl->pin)) {
|
||||||
mp_raise_RuntimeError("SDA or SCL need a pull up");
|
mp_raise_RuntimeError("SDA or SCL needs a pull up");
|
||||||
}
|
}
|
||||||
gpio_set_pin_function(sda->pin, sda_pinmux);
|
gpio_set_pin_function(sda->pin, sda_pinmux);
|
||||||
gpio_set_pin_function(scl->pin, scl_pinmux);
|
gpio_set_pin_function(scl->pin, scl_pinmux);
|
||||||
|
Loading…
Reference in New Issue
Block a user