diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-04-01 16:35:30 -0700 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2012-04-01 16:35:30 -0700 |
commit | 98c703b3282b47ae2e0deaf317468f789cc9176e (patch) | |
tree | 790580cc2a29aba74628fd4fbcb0f424944b2176 /gr-fcd/include | |
parent | 86321b24cff6df788e12436ca62bde22effdb4c2 (diff) |
fcd: adds setter function to configure mixer gain
Diffstat (limited to 'gr-fcd/include')
-rw-r--r-- | gr-fcd/include/fcd/fcd_source_c.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gr-fcd/include/fcd/fcd_source_c.h b/gr-fcd/include/fcd/fcd_source_c.h index 31393418f8..988925c2e3 100644 --- a/gr-fcd/include/fcd/fcd_source_c.h +++ b/gr-fcd/include/fcd/fcd_source_c.h @@ -88,11 +88,21 @@ public: * 2.5 dB steps, you can can call this method with any float value * and it will be rounded to the nearest valid value. * - * By default the FCD is set to 20 dB and this is a good value for most - * cases. In noisy areas you may try to reduce the gain. + * By default the LNA gain is set to 20 dB and this is a good value for + * most cases. In noisy areas you may try to reduce the gain. */ virtual void set_lna_gain(float gain) = 0; + /*! \brief Set mixer gain. + * \param gain The new gain in dB. + * + * Set the mixer gain in the FCD. Valid values are +4 and +12 dB. + * + * By default the mixer gain is set to +12 dB and this is a good value for + * most cases. In noisy areas you may try to reduce the gain. + */ + virtual void set_mixer_gain(float gain) = 0; + /*! \brief Set new frequency correction. * \param ppm The new frequency correction in parts per million * |