ret_code_t nrf_atfifo_clear(nrf_atfifo_t * const p_fifo) { bool released = nrf_atfifo_space_clear(p_fifo); NRF_LOG_INST_INFO(p_fifo->p_log, "Cleared result:%s", released ? "success" : "busy"); return released ? NRF_SUCCESS : NRF_ERROR_BUSY; }
ret_code_t nrf_atfifo_clear(nrf_atfifo_t * const p_fifo) { bool released = nrf_atfifo_space_clear(p_fifo); return released ? NRF_SUCCESS : NRF_ERROR_BUSY; }