diff options
Diffstat (limited to 'lib/fcd')
-rw-r--r-- | lib/fcd/fcd_source.cc | 2 | ||||
-rw-r--r-- | lib/fcd/fcd_source.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/fcd/fcd_source.cc b/lib/fcd/fcd_source.cc index c77e33a..fa6caeb 100644 --- a/lib/fcd/fcd_source.cc +++ b/lib/fcd/fcd_source.cc @@ -198,7 +198,7 @@ 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 mode, size_t chan ) +bool fcd_source::set_gain_mode( bool automatic, size_t chan ) { return get_gain_mode(chan); } diff --git a/lib/fcd/fcd_source.h b/lib/fcd/fcd_source.h index 5d23a26..5e816b8 100644 --- a/lib/fcd/fcd_source.h +++ b/lib/fcd/fcd_source.h @@ -65,7 +65,7 @@ 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 mode, 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 ); |