aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-27 16:48:18 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-11-27 16:48:18 +0100
commit426cad9264067820e0dabe4bcf5e045edbf5c214 (patch)
treeb682330be5a6a3a9d2a22b3945417b319faadad7 /src
parent90345f6b82deaa64b9f0387b17eb6f532330dc7f (diff)
downloaddabmod-426cad9264067820e0dabe4bcf5e045edbf5c214.tar.gz
dabmod-426cad9264067820e0dabe4bcf5e045edbf5c214.tar.bz2
dabmod-426cad9264067820e0dabe4bcf5e045edbf5c214.zip
Fix UHD output timestamp increment
Diffstat (limited to 'src')
-rw-r--r--src/OutputUHD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index a82550f..fab1fd1 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -857,7 +857,7 @@ void UHDWorker::tx_frame(const struct UHDWorkerFrameData *frame)
num_acc_samps += num_tx_samps;
md.time_spec = uhd::time_spec_t(tx_second, pps_offset)
- + uhd::time_spec_t(0, num_acc_samps/uwd->sampleRate);
+ + uhd::time_spec_t(0, num_tx_samps/uwd->sampleRate);
if (num_tx_samps == 0) {
etiLog.log(warn,