diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-15 14:57:30 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-16 16:51:30 -0700 |
commit | 2a3d0e653e9d38dc3eed729d1442f3d98aadb1e5 (patch) | |
tree | a3614c0c9b8d6765846715d8902dbc03174a4e7d /host/test | |
parent | 1b7bf0ce1a5b5306323730ef790b3038d4ca3979 (diff) | |
download | uhd-2a3d0e653e9d38dc3eed729d1442f3d98aadb1e5.tar.gz uhd-2a3d0e653e9d38dc3eed729d1442f3d98aadb1e5.tar.bz2 uhd-2a3d0e653e9d38dc3eed729d1442f3d98aadb1e5.zip |
usrp: removed spectrum inverted property from subdev code and tune helper (it wasnt used)
Diffstat (limited to 'host/test')
-rw-r--r-- | host/test/tune_helper_test.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/host/test/tune_helper_test.cpp b/host/test/tune_helper_test.cpp index 47b47beda..a6e6f4cc9 100644 --- a/host/test/tune_helper_test.cpp +++ b/host/test/tune_helper_test.cpp @@ -29,9 +29,8 @@ using namespace uhd::usrp; **********************************************************************/ class dummy_subdev : public wax::obj{ public: - dummy_subdev(bool is_quadrature, bool is_spectrum_inverted, double resolution): + dummy_subdev(bool is_quadrature, double resolution): _is_quadrature(is_quadrature), - _is_spectrum_inverted(is_spectrum_inverted), _resolution(resolution) { /* NOP */ @@ -43,10 +42,6 @@ private: val = _is_quadrature; return; - case SUBDEV_PROP_SPECTRUM_INVERTED: - val = _is_spectrum_inverted; - return; - case SUBDEV_PROP_FREQ: val = _freq; return; @@ -69,7 +64,7 @@ private: } } - bool _is_quadrature, _is_spectrum_inverted; + bool _is_quadrature; double _freq, _resolution; }; @@ -114,7 +109,7 @@ private: static const double tolerance = 0.001; BOOST_AUTO_TEST_CASE(test_tune_helper_rx){ - dummy_subdev subdev(true, false, 1e6); + dummy_subdev subdev(true, 1e6); dummy_dsp dsp(100e6); std::cout << "Testing tune helper RX automatic LO offset" << std::endl; @@ -128,7 +123,7 @@ BOOST_AUTO_TEST_CASE(test_tune_helper_rx){ } BOOST_AUTO_TEST_CASE(test_tune_helper_tx){ - dummy_subdev subdev(true, false, 1e6); + dummy_subdev subdev(true, 1e6); dummy_dsp dsp(100e6); std::cout << "Testing tune helper TX automatic LO offset" << std::endl; |