diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-02-16 12:36:06 +0100 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-02-16 12:36:06 +0100 |
commit | 0f371eeca1ad5abcac3ab36bcc854b4a63ada2e8 (patch) | |
tree | 5253875839f03933079244f77f88f342a94f7c51 /lib/fcd | |
parent | 878c80d8ca6e159038ff8e6ee974f54233f7a3d9 (diff) |
remove gain_mode getter/setter where not used
Diffstat (limited to 'lib/fcd')
-rw-r--r-- | lib/fcd/fcd_source.cc | 10 | ||||
-rw-r--r-- | lib/fcd/fcd_source.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/fcd/fcd_source.cc b/lib/fcd/fcd_source.cc index 89f6ab5..38ce7dc 100644 --- a/lib/fcd/fcd_source.cc +++ b/lib/fcd/fcd_source.cc @@ -206,16 +206,6 @@ osmosdr::gain_range_t fcd_source::get_gain_range( const std::string & name, size return get_gain_range( chan ); } -bool fcd_source::set_gain_mode( bool automatic, size_t chan ) -{ - return get_gain_mode(chan); -} - -bool fcd_source::get_gain_mode( size_t chan ) -{ - return true; -} - double fcd_source::set_gain( double gain, size_t chan ) { _src->set_lna_gain(gain); diff --git a/lib/fcd/fcd_source.h b/lib/fcd/fcd_source.h index 5e816b8..6fa00a3 100644 --- a/lib/fcd/fcd_source.h +++ b/lib/fcd/fcd_source.h @@ -65,8 +65,6 @@ public: std::vector<std::string> get_gain_names( size_t chan = 0 ); osmosdr::gain_range_t get_gain_range( size_t chan = 0 ); osmosdr::gain_range_t get_gain_range( const std::string & name, size_t chan = 0 ); - bool set_gain_mode( bool automatic, size_t chan = 0 ); - bool get_gain_mode( size_t chan = 0 ); double set_gain( double gain, size_t chan = 0 ); double set_gain( double gain, const std::string & name, size_t chan = 0 ); double get_gain( size_t chan = 0 ); |