summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-05-06 16:40:38 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-05-06 16:40:38 +0200
commit473232ab177a4811115ff5713bb25893448dafd7 (patch)
tree0ead0ed00cd82b46ce334b757e410f875bb20399 /src
parentbef9d81a827965cf688bfabba110903d5e306b4f (diff)
downloaddabmod-473232ab177a4811115ff5713bb25893448dafd7.tar.gz
dabmod-473232ab177a4811115ff5713bb25893448dafd7.tar.bz2
dabmod-473232ab177a4811115ff5713bb25893448dafd7.zip
Fix compilation with UHD 3.14
Diffstat (limited to 'src')
-rw-r--r--src/output/UHD.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp
index e85e66f..3cf5aef 100644
--- a/src/output/UHD.cpp
+++ b/src/output/UHD.cpp
@@ -359,8 +359,7 @@ void UHD::transmit_frame(const struct FrameData& frame)
num_acc_samps += num_tx_samps;
- md_tx.time_spec = md_tx.time_spec +
- uhd::time_spec_t(0, num_tx_samps/m_conf.sampleRate);
+ md_tx.time_spec += uhd::time_spec_t(0, num_tx_samps/m_conf.sampleRate);
if (num_tx_samps == 0) {
etiLog.log(warn,