summaryrefslogtreecommitdiffstats
path: root/host/test
diff options
context:
space:
mode:
Diffstat (limited to 'host/test')
-rw-r--r--host/test/tune_helper_test.cpp13
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;