From 473232ab177a4811115ff5713bb25893448dafd7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 6 May 2019 16:40:38 +0200 Subject: Fix compilation with UHD 3.14 --- src/output/UHD.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/output/UHD.cpp') 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, -- cgit v1.2.3