diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-11-27 14:49:39 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-11-27 14:49:39 -0500 |
| commit | d089f16656f4b6de1f524c691d2135dd0fcbc37d (patch) | |
| tree | 55d6ad74d26c37029823a508815db465d359c848 /shared-bindings | |
| parent | dd6dfeb30a4e688339612d509fb491bc2e72d078 (diff) | |
'seconds'
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/busio/UART.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/busio/UART.c b/shared-bindings/busio/UART.c index 4c0655e26..7a3b48e89 100644 --- a/shared-bindings/busio/UART.c +++ b/shared-bindings/busio/UART.c @@ -71,7 +71,7 @@ extern const busio_uart_parity_obj_t busio_uart_parity_odd_obj; STATIC void validate_timeout(mp_float_t timeout) { if (timeout < (mp_float_t) 0.0f || timeout > (mp_float_t) 100.0f) { - mp_raise_ValueError(translate("timeout must be 0.0-100.0")); + mp_raise_ValueError(translate("timeout must be 0.0-100.0 seconds")); } } |
