aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/twinrx_freq_hopping.cpp
diff options
context:
space:
mode:
authornatetemple <nate.temple@ettus.com>2017-05-15 14:40:51 -0700
committerMartin Braun <martin.braun@ettus.com>2017-05-20 22:02:04 -0700
commit4152b42fbc9f30c981131106c49cd6a25701be97 (patch)
tree1b83d5d8b84769fe25dbfcde5a581fb0747e09f6 /host/examples/twinrx_freq_hopping.cpp
parent6f87cca4e8d98b5544a89d25d9eddce5ba85d393 (diff)
downloaduhd-4152b42fbc9f30c981131106c49cd6a25701be97.tar.gz
uhd-4152b42fbc9f30c981131106c49cd6a25701be97.tar.bz2
uhd-4152b42fbc9f30c981131106c49cd6a25701be97.zip
Examples: Fix ascii typos
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();