diff options
author | natetemple <nate.temple@ettus.com> | 2017-05-15 14:40:51 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-05-20 22:02:04 -0700 |
commit | 4152b42fbc9f30c981131106c49cd6a25701be97 (patch) | |
tree | 1b83d5d8b84769fe25dbfcde5a581fb0747e09f6 /host/examples/twinrx_freq_hopping.cpp | |
parent | 6f87cca4e8d98b5544a89d25d9eddce5ba85d393 (diff) | |
download | uhd-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.cpp | 2 |
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(); |