aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-04-28 21:59:29 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-13 21:45:32 +0000
commit4aec1f1cf5d955951bb5f0de9e5eaf3fd34ef4e0 (patch)
tree4b504e4a3013ab04db8e0d846f867e65a6e27579 /Transceiver52M
parent68f054169baacac7c31d3ee3488dd94bae657614 (diff)
LMS_Device: Set ts_offset to 0.
I'm not quite sure what the ts_offset is for, but by using "0" we are now receiving exactly the timestamp that we're expecting: LMSDevice.cpp:486 [tid=140576250332928] chan 0 recv buffer of len 2500 expect 305ed0 got 305ed0 (305ed0) diff=0 Change-Id: I270c94945b1af9662cfc468cfda1ae3af3ac0a27
Diffstat (limited to 'Transceiver52M')
-rw-r--r--Transceiver52M/device/lms/LMSDevice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index 9cfa96d..5f25da5 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -131,7 +131,8 @@ int LMSDevice::open(const std::string &args, int ref, bool swap_channels)
goto out_close;
LOG(DEBUG) << "Sample Rate: Host=" << sr_host << " RF=" << sr_rf;
/* FIXME: make this device/model dependent, like UHDDevice:dev_param_map! */
- ts_offset = static_cast<TIMESTAMP>(8.9e-5 * GSMRATE);
+ //ts_offset = static_cast<TIMESTAMP>(8.9e-5 * GSMRATE);
+ ts_offset = 0;
switch (ref) {
case REF_INTERNAL: