summaryrefslogtreecommitdiff
path: root/shared-bindings/busio/UART.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-12-03 11:00:35 -0500
committerDan Halbert <halbert@halwitz.org>2018-12-03 12:04:32 -0500
commit80db2cec99ca5c995a0302b1d6d00ad77cfcd736 (patch)
tree023d45974945a347590808e114843d2100cfc66e /shared-bindings/busio/UART.h
parent57c2c4134c52405b78e8d9cd8ed0ed05fefc2827 (diff)
UART changes: timeout in secs, write bytes, etc.
Diffstat (limited to 'shared-bindings/busio/UART.h')
-rw-r--r--shared-bindings/busio/UART.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/busio/UART.h b/shared-bindings/busio/UART.h
index 513ff50c8..e171f8bb4 100644
--- a/shared-bindings/busio/UART.h
+++ b/shared-bindings/busio/UART.h
@@ -41,7 +41,7 @@ typedef enum {
// Construct an underlying UART object.
extern void common_hal_busio_uart_construct(busio_uart_obj_t *self,
const mcu_pin_obj_t * tx, const mcu_pin_obj_t * rx, uint32_t baudrate,
- uint8_t bits, uart_parity_t parity, uint8_t stop, uint32_t timeout,
+ uint8_t bits, uart_parity_t parity, uint8_t stop, mp_float_t timeout,
uint8_t receiver_buffer_size);
extern void common_hal_busio_uart_deinit(busio_uart_obj_t *self);