Permalink
Browse files

Fix sign of frequency correction.

  • Loading branch information...
1 parent 973009e commit e96487a4e1320d17badbca4f3fb0c7fc8d8e167b @csete committed Apr 17, 2011
Showing with 6 additions and 6 deletions.
  1. +3 −3 grc/fcd_source_c.xml
  2. +1 −1 lib/fcd_source_c.cc
  3. +2 −2 lib/fcd_source_c.h
View
6 grc/fcd_source_c.xml
@@ -46,7 +46,7 @@ self.$(id).set_iq_corr($iq_phase,$iq_gain)
<param>
<name>Frequency corr. (ppm)</name>
<key>ppm</key>
- <value>115</value>
+ <value>-120</value>
<type>int</type>
</param>
<param>
@@ -95,8 +95,8 @@ The LNA gain is a set of discrete values between -5 to 30 dB with 2.5 dB step, b
use any float value and it will be rounded to the nearest valid value.
The FCD block can autmatically apply frequency correction:
- - For FCD v1.0 you can leave at 115 ppm
- - For FCD v1.1 with serial number 810 or greater use 12 ppm
+ - For FCD v1.0 you can leave at -120 ppm
+ - For FCD v1.1 with serial number 810 or greater use -12 ppm
The DC offset and IQ balance parameters can have range -1.0 to 1.0.
</doc>
View
2 lib/fcd_source_c.cc
@@ -50,7 +50,7 @@ fcd_source_c::fcd_source_c(const std::string device_name)
: gr_hier_block2 ("fcd_source_c",
gr_make_io_signature (MIN_IN, MAX_IN, sizeof (gr_complex)),
gr_make_io_signature (MIN_OUT, MAX_OUT, sizeof (gr_complex))),
- d_freq_corr(115)
+ d_freq_corr(-120)
{
gr_float_to_complex_sptr f2c;
View
4 lib/fcd_source_c.h
@@ -102,8 +102,8 @@ class fcd_source_c : public gr_hier_block2
/*! \brief Set new frequency correction.
* \param ppm The new frequency correction in parts per million
*
- * Version 1.1 FCDs (S/N 810 or later) need a correction of -12ppm.
- * Earlier FCDs need roughly -115ppm (default for gr-fcd).
+ * Version 1.1 FCDs (S/N 810 or later) need a correction of -12 ppm.
+ * Earlier FCDs need roughly -120 ppm (default for gr-fcd).
*
* Ref: http://www.funcubedongle.com/?p=617
*/

0 comments on commit e96487a

Please sign in to comment.