From d5c235635fe95b753fb7d615f19dbb1cad0215c9 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 3 Nov 2021 17:30:50 +0100 Subject: [PATCH] check lteworker is not null in log line --- srsenb/src/phy/txrx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/phy/txrx.cc b/srsenb/src/phy/txrx.cc index 193486d05..09a0f55d8 100644 --- a/srsenb/src/phy/txrx.cc +++ b/srsenb/src/phy/txrx.cc @@ -176,7 +176,7 @@ void txrx::run_thread() tti, timestamp.get(0).full_secs, timestamp.get(0).frac_secs, - lte_worker->get_id()); + lte_worker ? lte_worker->get_id() : 0); // Trigger prach worker execution for (uint32_t cc = 0; cc < worker_com->get_nof_carriers_lte(); cc++) {