diff options
| -rw-r--r-- | host/examples/ascii_art_dft.hpp | 10 | ||||
| -rw-r--r-- | host/examples/rx_ascii_art_dft.cpp | 6 | ||||
| -rw-r--r-- | host/examples/twinrx_freq_hopping.cpp | 2 | ||||
| -rwxr-xr-x | host/tests/devtest/uhd_test_base.py | 2 | 
4 files changed, 10 insertions, 10 deletions
| diff --git a/host/examples/ascii_art_dft.hpp b/host/examples/ascii_art_dft.hpp index ee2267c2d..0754279be 100644 --- a/host/examples/ascii_art_dft.hpp +++ b/host/examples/ascii_art_dft.hpp @@ -11,7 +11,7 @@  #include <complex>  #include <stdexcept> -namespace acsii_art_dft{ +namespace ascii_art_dft{      //! Type produced by the log power DFT function      typedef std::vector<float> log_pwr_dft_type; @@ -148,7 +148,7 @@ namespace {/*anon*/  /***********************************************************************   * Implementation code   **********************************************************************/ -namespace acsii_art_dft{ +namespace ascii_art_dft{      //! skip constants for amplitude and frequency labels      static const size_t albl_skip = 5, flbl_skip = 20; @@ -298,10 +298,10 @@ int main(void){              samples[i] += 0.5*std::sin(i*3.14/2) + 0.7;          } -        acsii_art_dft::log_pwr_dft_type dft; -        dft = acsii_art_dft::log_pwr_dft(&samples.front(), samples.size()); +        ascii_art_dft::log_pwr_dft_type dft; +        dft = ascii_art_dft::log_pwr_dft(&samples.front(), samples.size()); -        printw("%s", acsii_art_dft::dft_to_plot( +        printw("%s", ascii_art_dft::dft_to_plot(              dft, COLS, LINES,              12.5e4, 2.45e9,              60, 0 diff --git a/host/examples/rx_ascii_art_dft.cpp b/host/examples/rx_ascii_art_dft.cpp index c73e57459..55b4eeebe 100644 --- a/host/examples/rx_ascii_art_dft.cpp +++ b/host/examples/rx_ascii_art_dft.cpp @@ -169,10 +169,10 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){          next_refresh = boost::get_system_time() + boost::posix_time::microseconds(long(1e6/frame_rate));          //calculate the dft and create the ascii art frame -        acsii_art_dft::log_pwr_dft_type lpdft( -            acsii_art_dft::log_pwr_dft(&buff.front(), num_rx_samps) +        ascii_art_dft::log_pwr_dft_type lpdft( +            ascii_art_dft::log_pwr_dft(&buff.front(), num_rx_samps)          ); -        std::string frame = acsii_art_dft::dft_to_plot( +        std::string frame = ascii_art_dft::dft_to_plot(              lpdft, COLS, LINES,              usrp->get_rx_rate(),              usrp->get_rx_freq(), 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(); diff --git a/host/tests/devtest/uhd_test_base.py b/host/tests/devtest/uhd_test_base.py index 3bf2792c4..f596da89a 100755 --- a/host/tests/devtest/uhd_test_base.py +++ b/host/tests/devtest/uhd_test_base.py @@ -92,7 +92,7 @@ class uhd_test_case(unittest.TestCase):          self.tear_down()          if self.results_file:              open(self.results_file, 'w').write(yaml.dump(self.results, default_flow_style=False)) - +        time.sleep(15)      def report_result(self, testname, key, value):          """ Store a result as a key/value pair.          After completion, all results for one test are written to the results file. | 
