cpu/nrf5x_common/uart: power on correct UARTE

This commit is contained in:
Francisco Molina 2021-02-25 14:26:12 +01:00
parent d014f5e6d0
commit 91443cb0f9
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -273,7 +273,7 @@ void uart_poweron(uart_t uart)
assert(uart < UART_NUMOF); assert(uart < UART_NUMOF);
if (isr_ctx[uart].rx_cb) { if (isr_ctx[uart].rx_cb) {
NRF_UART0->TASKS_STARTRX = 1; dev(uart)->TASKS_STARTRX = 1;
} }
} }