Transceiver: Log error condition no burst in pullRadioVector()

Change-Id: I4f180cc852582b131ba28a8139215335f7ba567d
This commit is contained in:
Pau Espin 2019-09-06 13:48:35 +02:00
parent e3a2516280
commit 94c5241403
1 changed files with 3 additions and 1 deletions

View File

@ -603,8 +603,10 @@ bool Transceiver::pullRadioVector(size_t chan, struct trx_ul_burst_ind *bi)
/* Blocking FIFO read */
radioVector *radio_burst = mReceiveFIFO[chan]->read();
if (!radio_burst)
if (!radio_burst) {
LOGCHAN(chan, DMAIN, ERROR) << "ReceiveFIFO->read() returned no burst";
return false;
}
/* Set time and determine correlation type */
burstTime = radio_burst->getTime();