From 8f1f80bea390f0c1d1685d74d05cc6e204d3ef63 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Mon, 29 Jan 2018 19:42:09 +0000 Subject: [PATCH] Fix uart_rx_init This also renames it to make multiple rx facilities cause an symbol duplication error. --- drivers/uart_rx_async.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/uart_rx_async.c b/drivers/uart_rx_async.c index 0b69f59..658b99f 100644 --- a/drivers/uart_rx_async.c +++ b/drivers/uart_rx_async.c @@ -3,10 +3,11 @@ #include #include -void __attribute__ ((naked)) __attribute__ ((section (".init6"))) uart_rx_async_init() { - UCSR0B = (1<