diff options
| author | BiffoBear <martin@martinstehens.net> | 2021-02-03 05:49:40 +0700 |
|---|---|---|
| committer | BiffoBear <martin@martinstehens.net> | 2021-02-03 05:49:40 +0700 |
| commit | 2656c84b01197835f277bf624f992e7931f133df (patch) | |
| tree | a0bbe728f20472e5d8913763bfeede28b1017ad4 /ports/nrf | |
| parent | 9140bfb5b26dd78203160de344a5b08e3a63e027 (diff) | |
Initial commit. Edited error messages in .c files
Diffstat (limited to 'ports/nrf')
| -rw-r--r-- | ports/nrf/common-hal/busio/I2C.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/common-hal/busio/I2C.c b/ports/nrf/common-hal/busio/I2C.c index 37cb192df..654fa857f 100644 --- a/ports/nrf/common-hal/busio/I2C.c +++ b/ports/nrf/common-hal/busio/I2C.c @@ -131,7 +131,7 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self, const mcu_pin_obj_t * if (!nrf_gpio_pin_read(sda->number) || !nrf_gpio_pin_read(scl->number)) { reset_pin_number(sda->number); reset_pin_number(scl->number); - mp_raise_RuntimeError(translate("SDA or SCL needs a pull up")); + mp_raise_RuntimeError(translate("No pull up found on SDA or SCL; check your wiring")); } #endif |
