|
@ -54,11 +54,11 @@ static void uart_evt_handler(nrf_drv_uart_event_t * p_event, void * p_context) |
|
|
{ |
|
|
{ |
|
|
m_xfer_done = true; |
|
|
m_xfer_done = true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uint32_t g_nrf_log_tx_pin = NRF_UART_PSEL_DISCONNECTED; |
|
|
static void uart_init(bool async_mode) |
|
|
static void uart_init(bool async_mode) |
|
|
{ |
|
|
{ |
|
|
nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; |
|
|
nrf_drv_uart_config_t config = NRF_DRV_UART_DEFAULT_CONFIG; |
|
|
config.pseltxd = NRF_LOG_BACKEND_UART_TX_PIN; |
|
|
|
|
|
|
|
|
config.pseltxd = g_nrf_log_tx_pin; |
|
|
config.pselrxd = NRF_UART_PSEL_DISCONNECTED; |
|
|
config.pselrxd = NRF_UART_PSEL_DISCONNECTED; |
|
|
config.pselcts = NRF_UART_PSEL_DISCONNECTED; |
|
|
config.pselcts = NRF_UART_PSEL_DISCONNECTED; |
|
|
config.pselrts = NRF_UART_PSEL_DISCONNECTED; |
|
|
config.pselrts = NRF_UART_PSEL_DISCONNECTED; |
|
|