bladeRF: remove set_bb_gain

This is not meaningful with bladeRF hardware
gr3.7
Ryan Tucker 6 years ago committed by Dimitri Stolnikov
parent 4ffccd1363
commit 855ac41c12
  1. 5
      lib/bladerf/bladerf_common.cc
  2. 2
      lib/bladerf/bladerf_common.h
  3. 4
      lib/bladerf/bladerf_sink_c.cc
  4. 2
      lib/bladerf/bladerf_sink_c.h
  5. 5
      lib/bladerf/bladerf_source_c.cc
  6. 2
      lib/bladerf/bladerf_source_c.h

@ -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;

@ -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);

@ -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 )
{

@ -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 );

@ -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;

@ -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 );

Loading…
Cancel
Save