aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/cores
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-01-26 20:32:41 +0100
committerMartin Braun <martin.braun@ettus.com>2016-02-04 09:50:49 -0800
commit747f5e8bc00c898b62c7153deea3666c082d317a (patch)
treeb77f7cfef536f6bc72d78b8bf91931a5bff74dd2 /host/lib/usrp/cores
parent11ad46f74837f080c42a2c9109e223f3b8100442 (diff)
downloaduhd-747f5e8bc00c898b62c7153deea3666c082d317a.tar.gz
uhd-747f5e8bc00c898b62c7153deea3666c082d317a.tar.bz2
uhd-747f5e8bc00c898b62c7153deea3666c082d317a.zip
math: Removed now superfluous constants. Removes a lot of compiler warnings
Diffstat (limited to 'host/lib/usrp/cores')
-rw-r--r--host/lib/usrp/cores/dsp_core_utils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/lib/usrp/cores/dsp_core_utils.cpp b/host/lib/usrp/cores/dsp_core_utils.cpp
index f6f56a16b..aea809ae8 100644
--- a/host/lib/usrp/cores/dsp_core_utils.cpp
+++ b/host/lib/usrp/cores/dsp_core_utils.cpp
@@ -61,7 +61,6 @@ void get_freq_and_freq_word(
freq_word = int32_t(boost::math::round((freq / tick_rate) * scale_factor));
}
- //program the frequency word into the device DSP
actual_freq = (double(freq_word) / scale_factor) * tick_rate;
}