diff --git a/components/libraries/log/src/nrf_log_backend_uart.c b/components/libraries/log/src/nrf_log_backend_uart.c index 0e4d3c7..593320c 100644 --- a/components/libraries/log/src/nrf_log_backend_uart.c +++ b/components/libraries/log/src/nrf_log_backend_uart.c @@ -58,7 +58,7 @@ uint32_t g_nrf_log_tx_pin = NRF_UART_PSEL_DISCONNECTED; static void uart_init(bool async_mode) { nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; - config.pseltxd = g_nrf_log_tx_pin; + config.pseltxd = NRF_LOG_BACKEND_UART_TX_PIN; config.pselrxd = NRF_UART_PSEL_DISCONNECTED; config.pselcts = NRF_UART_PSEL_DISCONNECTED; config.pselrts = NRF_UART_PSEL_DISCONNECTED;