aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/twinrx_freq_hopping.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-06-02 16:25:31 -0700
committerMartin Braun <martin.braun@ettus.com>2017-06-02 16:25:31 -0700
commit644c03269c33a99c50d5d5d73ff37f5afd9759bb (patch)
tree079a2516c20407c79936884d604278d4eb3eb74a /host/examples/twinrx_freq_hopping.cpp
parent1da86f9cf5526269f253e17416e7e501c1c3a6a7 (diff)
parent9ec36e9538b4be2c6e6e77aa551bd236ef753a10 (diff)
downloaduhd-644c03269c33a99c50d5d5d73ff37f5afd9759bb.tar.gz
uhd-644c03269c33a99c50d5d5d73ff37f5afd9759bb.tar.bz2
uhd-644c03269c33a99c50d5d5d73ff37f5afd9759bb.zip
Merge branch 'maint'
Diffstat (limited to 'host/examples/twinrx_freq_hopping.cpp')
-rw-r--r--host/examples/twinrx_freq_hopping.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/twinrx_freq_hopping.cpp b/host/examples/twinrx_freq_hopping.cpp
index 6d7018912..878129d92 100644
--- a/host/examples/twinrx_freq_hopping.cpp
+++ b/host/examples/twinrx_freq_hopping.cpp
@@ -101,7 +101,7 @@ static void write_fft_to_file(const std::string &fft_path) {
std::cout << "Calculating FFTs (this may take a while)... " << std::flush;
std::ofstream ofile(fft_path.c_str(), std::ios::binary);
BOOST_FOREACH(const recv_buff_t &buff, buffs) {
- std::vector<float> fft = acsii_art_dft::log_pwr_dft(&buff.front(), buff.size());
+ std::vector<float> fft = ascii_art_dft::log_pwr_dft(&buff.front(), buff.size());
ofile.write((char*)&fft[0], (sizeof(float)*fft.size()));
}
ofile.close();