From 91443cb0f9f21ea041dcd83a0b6d8a3d0a68098c Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Thu, 25 Feb 2021 14:26:12 +0100 Subject: [PATCH] cpu/nrf5x_common/uart: power on correct UARTE --- cpu/nrf5x_common/periph/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/nrf5x_common/periph/uart.c b/cpu/nrf5x_common/periph/uart.c index e1778abeba..a7a9425564 100644 --- a/cpu/nrf5x_common/periph/uart.c +++ b/cpu/nrf5x_common/periph/uart.c @@ -273,7 +273,7 @@ void uart_poweron(uart_t uart) assert(uart < UART_NUMOF); if (isr_ctx[uart].rx_cb) { - NRF_UART0->TASKS_STARTRX = 1; + dev(uart)->TASKS_STARTRX = 1; } }