Change in ...osmo-trx[master]: Transceiver: Log error condition no burst in pullRadioVector()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Sep 6 13:06:24 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/15435


Change subject: Transceiver: Log error condition no burst in pullRadioVector()
......................................................................

Transceiver: Log error condition no burst in pullRadioVector()

Change-Id: I4f180cc852582b131ba28a8139215335f7ba567d
---
M Transceiver52M/Transceiver.cpp
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/35/15435/1

diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 8afbc95..079d1d7 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -603,8 +603,10 @@
 
   /* 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();

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/15435
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I4f180cc852582b131ba28a8139215335f7ba567d
Gerrit-Change-Number: 15435
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190906/1fab278b/attachment.htm>


More information about the gerrit-log mailing list