mirror of https://github.com/PentHertz/srsLTE.git
enb,slot_worker: skip UL signal demod if scheduler returns empty results
This commit is contained in:
parent
b54d4ad8e2
commit
2cee65bb88
|
@ -148,6 +148,11 @@ bool slot_worker::work_ul()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ul_sched.pucch.empty() && ul_sched.pusch.empty()) {
|
||||||
|
// early exit if nothing has been scheduled
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Demodulate
|
// Demodulate
|
||||||
if (srsran_gnb_ul_fft(&gnb_ul) < SRSRAN_SUCCESS) {
|
if (srsran_gnb_ul_fft(&gnb_ul) < SRSRAN_SUCCESS) {
|
||||||
logger.error("Error in demodulation");
|
logger.error("Error in demodulation");
|
||||||
|
|
Loading…
Reference in New Issue