summaryrefslogtreecommitdiff
path: root/ports/atmel-samd
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-05-20 10:48:27 -0700
committerScott Shawcroft <scott@tannewt.org>2020-05-20 10:48:27 -0700
commitba724fffb4e67dc37159c1371352e42e0bab7b4a (patch)
tree502847224bc9ef6e292e3d5529e8fda30918a935 /ports/atmel-samd
parentfd0420d43209a533f4896adae36952d9a11dc49c (diff)
parent916ca9f8a635d20c299326a955d4ca51dae055e1 (diff)
Merge remote-tracking branch 'adafruit/master' into esp32s2_digitalio
Diffstat (limited to 'ports/atmel-samd')
-rw-r--r--ports/atmel-samd/common-hal/busio/UART.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/atmel-samd/common-hal/busio/UART.c b/ports/atmel-samd/common-hal/busio/UART.c
index d6c13eb7e..9f740dc8a 100644
--- a/ports/atmel-samd/common-hal/busio/UART.c
+++ b/ports/atmel-samd/common-hal/busio/UART.c
@@ -59,7 +59,8 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
const mcu_pin_obj_t * rts, const mcu_pin_obj_t * cts,
const mcu_pin_obj_t * rs485_dir, bool rs485_invert,
uint32_t baudrate, uint8_t bits, uart_parity_t parity, uint8_t stop,
- mp_float_t timeout, uint16_t receiver_buffer_size) {
+ mp_float_t timeout, uint16_t receiver_buffer_size, byte* receiver_buffer,
+ bool sigint_enabled) {
Sercom* sercom = NULL;
uint8_t sercom_index = 255; // Unset index