diff options
Diffstat (limited to 'lib/fcd/fcd_source.cc')
-rw-r--r-- | lib/fcd/fcd_source.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/fcd/fcd_source.cc b/lib/fcd/fcd_source.cc index 96f9993..8ed7103 100644 --- a/lib/fcd/fcd_source.cc +++ b/lib/fcd/fcd_source.cc @@ -186,6 +186,16 @@ 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 ) +{ + 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); |