enb,slot_worker: skip UL signal demod if scheduler returns empty results

master
Andre Puschmann 3 years ago
parent b54d4ad8e2
commit 2cee65bb88

@ -148,6 +148,11 @@ bool slot_worker::work_ul()
return false;
}
if (ul_sched.pucch.empty() && ul_sched.pusch.empty()) {
// early exit if nothing has been scheduled
return true;
}
// Demodulate
if (srsran_gnb_ul_fft(&gnb_ul) < SRSRAN_SUCCESS) {
logger.error("Error in demodulation");

Loading…
Cancel
Save