In my application, the moment a callback is invoked inside the UART driver (which I wrote), I see the execution getting stuck on the following which resides inside nrf_log_frontend.c.
while (p_backend)
{
nrf_log_backend_flush(p_backend);
p_backend = p_backend->p_cb->p_next;
}
NRF_LOG_WARNING("Backends flushed");
The callback is invoked here inside uart.cpp
if (dataRxd == '\r')
{
pInstance->uartCallback(pFifoRx);
}
1411.PROJECT.zip