diff options
| author | iot49 <boser@berkeley.edu> | 2019-07-03 12:02:01 -0700 |
|---|---|---|
| committer | iot49 <boser@berkeley.edu> | 2019-07-03 12:02:01 -0700 |
| commit | 6e5d70fa1929a6ab2b2de4d9fb0fb224d7618700 (patch) | |
| tree | eba558f70770eb975c3ebcf9f1153927b4ab533f /ports | |
| parent | 69460b943b9c89693bb61bbb0c0ec74be26adb3b (diff) | |
changed type of receiver_buffer_size to uint16_t
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/nrf/common-hal/busio/UART.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/common-hal/busio/UART.c b/ports/nrf/common-hal/busio/UART.c index 593914afc..b9e9e5538 100644 --- a/ports/nrf/common-hal/busio/UART.c +++ b/ports/nrf/common-hal/busio/UART.c @@ -131,7 +131,7 @@ void uart_reset(void) { 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, mp_float_t timeout, - uint8_t receiver_buffer_size) { + uint16_t receiver_buffer_size) { // Find a free UART peripheral. self->uarte = NULL; for (size_t i = 0 ; i < MP_ARRAY_SIZE(nrfx_uartes); i++) { |
