Change in osmo-trx[master]: LMSDevice: Fix initial timestamp offset of 2500

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jun 13 21:33:32 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/9607


Change subject: LMSDevice: Fix initial timestamp offset of 2500
......................................................................

LMSDevice: Fix initial timestamp offset of 2500

ts_initial must not point to the timestamp of the first sample
in the last "flush" sample buffer, but to the first timestamp we
expect in the next buffer.

Change-Id: I23af62870544d4c6cf5f6e2d6578936603bceb91
---
M Transceiver52M/device/lms/LMSDevice.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index 3b2ce5e..9cfa96d 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -345,7 +345,7 @@
 			return false;
 		}
 
-		ts_initial = rx_metadata.timestamp;
+		ts_initial = rx_metadata.timestamp + len;
 	}
 
 	LOG(INFO) << "Initial timestamp " << ts_initial << std::endl;

-- 
To view, visit https://gerrit.osmocom.org/9607
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I23af62870544d4c6cf5f6e2d6578936603bceb91
Gerrit-Change-Number: 9607
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180613/31628705/attachment.htm>


More information about the gerrit-log mailing list