aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Tucker <ryan.tucker@nuand.com>2017-06-26 18:21:16 -0400
committerDimitri Stolnikov <horiz0n@gmx.net>2018-08-15 19:52:57 +0200
commit855ac41c126c3b074873471c3bb1bd38f5fca6ca (patch)
tree2907528f7c9ae3843792a7d09c371f172ea9a57e
parent4ffccd1363f404aa3833090f615cb3a34231d6e8 (diff)
bladeRF: remove set_bb_gain
This is not meaningful with bladeRF hardware
-rw-r--r--lib/bladerf/bladerf_common.cc5
-rw-r--r--lib/bladerf/bladerf_common.h2
-rw-r--r--lib/bladerf/bladerf_sink_c.cc4
-rw-r--r--lib/bladerf/bladerf_sink_c.h2
-rw-r--r--lib/bladerf/bladerf_source_c.cc5
-rw-r--r--lib/bladerf/bladerf_source_c.h2
6 files changed, 0 insertions, 20 deletions
diff --git a/lib/bladerf/bladerf_common.cc b/lib/bladerf/bladerf_common.cc
index 6458790..9a56615 100644
--- a/lib/bladerf/bladerf_common.cc
+++ b/lib/bladerf/bladerf_common.cc
@@ -912,11 +912,6 @@ double bladerf_common::get_gain( const std::string & name, size_t chan )
return (double)g;
}
-double bladerf_common::set_bb_gain( double gain, size_t chan )
-{
- return set_gain( gain, SYSTEM_GAIN_NAME, chan );
-}
-
int bladerf_common::set_dc_offset(bladerf_module module, const std::complex<double> &offset, size_t chan)
{
int ret = 0;
diff --git a/lib/bladerf/bladerf_common.h b/lib/bladerf/bladerf_common.h
index a918579..492f483 100644
--- a/lib/bladerf/bladerf_common.h
+++ b/lib/bladerf/bladerf_common.h
@@ -87,8 +87,6 @@ protected:
double get_gain( size_t chan = 0 );
double get_gain( const std::string & name, size_t chan = 0 );
- double set_bb_gain( double gain, size_t chan = 0 );
-
int set_dc_offset(bladerf_module module, const std::complex<double> &offset, size_t chan);
int set_iq_balance(bladerf_module module, const std::complex<double> &balance, size_t chan);
diff --git a/lib/bladerf/bladerf_sink_c.cc b/lib/bladerf/bladerf_sink_c.cc
index 41ce945..232c29b 100644
--- a/lib/bladerf/bladerf_sink_c.cc
+++ b/lib/bladerf/bladerf_sink_c.cc
@@ -380,10 +380,6 @@ double bladerf_sink_c::get_gain( const std::string & name, size_t chan )
return bladerf_common::get_gain(name, chan);
}
-double bladerf_sink_c::set_bb_gain( double gain, size_t chan )
-{
- return bladerf_common::set_bb_gain(gain, chan);
-}
std::vector< std::string > bladerf_sink_c::get_antennas( size_t chan )
{
diff --git a/lib/bladerf/bladerf_sink_c.h b/lib/bladerf/bladerf_sink_c.h
index 76df696..f87c49a 100644
--- a/lib/bladerf/bladerf_sink_c.h
+++ b/lib/bladerf/bladerf_sink_c.h
@@ -106,8 +106,6 @@ public:
double get_gain( size_t chan = 0 );
double get_gain( const std::string & name, size_t chan = 0 );
- double set_bb_gain( double gain, size_t chan = 0 );
-
std::vector< std::string > get_antennas( size_t chan = 0 );
std::string set_antenna( const std::string & antenna, size_t chan = 0 );
std::string get_antenna( size_t chan = 0 );
diff --git a/lib/bladerf/bladerf_source_c.cc b/lib/bladerf/bladerf_source_c.cc
index 1dabb77..92f0d98 100644
--- a/lib/bladerf/bladerf_source_c.cc
+++ b/lib/bladerf/bladerf_source_c.cc
@@ -278,11 +278,6 @@ double bladerf_source_c::get_gain( const std::string & name, size_t chan )
return bladerf_common::get_gain(name, chan);
}
-double bladerf_source_c::set_bb_gain( double gain, size_t chan )
-{
- return bladerf_common::set_bb_gain(gain, chan);
-}
-
std::vector< std::string > bladerf_source_c::get_antennas( size_t chan )
{
std::vector< std::string > antennas;
diff --git a/lib/bladerf/bladerf_source_c.h b/lib/bladerf/bladerf_source_c.h
index 5c5b208..5af131e 100644
--- a/lib/bladerf/bladerf_source_c.h
+++ b/lib/bladerf/bladerf_source_c.h
@@ -98,8 +98,6 @@ public:
double get_gain( size_t chan = 0 );
double get_gain( const std::string & name, size_t chan = 0 );
- double set_bb_gain( double gain, size_t chan = 0 );
-
std::vector< std::string > get_antennas( size_t chan = 0 );
std::string set_antenna( const std::string & antenna, size_t chan = 0 );
std::string get_antenna( size_t chan = 0 );