commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11179 - in gnuradio/branches/developers/eb/vrt: gr-vr


From: jblum
Subject: [Commit-gnuradio] r11179 - in gnuradio/branches/developers/eb/vrt: gr-vrt/src vrt/include/vrt vrt/lib
Date: Mon, 8 Jun 2009 12:52:14 -0600 (MDT)

Author: jblum
Date: 2009-06-08 12:52:14 -0600 (Mon, 08 Jun 2009)
New Revision: 11179

Modified:
   gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt.i
   gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.cc
   gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.h
   gnuradio/branches/developers/eb/vrt/vrt/include/vrt/quadradio.h
   gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc
Log:
switched target freq to double precision

Modified: gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt.i
===================================================================
--- gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt.i        2009-06-08 
18:34:47 UTC (rev 11178)
+++ gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt.i        2009-06-08 
18:52:14 UTC (rev 11179)
@@ -73,7 +73,7 @@
 
   bool write_dboard_pins(int v);
 
-  bool set_center_freq(float target_freq);
+  bool set_center_freq(double target_freq);
 
   bool set_band_select(const std::string &band);
 

Modified: 
gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.cc
===================================================================
--- gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.cc 
2009-06-08 18:34:47 UTC (rev 11178)
+++ gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.cc 
2009-06-08 18:52:14 UTC (rev 11179)
@@ -67,7 +67,7 @@
 }
 
 bool 
-vrt_quadradio_source_32fc::set_center_freq(float target_freq)
+vrt_quadradio_source_32fc::set_center_freq(double target_freq)
 {
   return d_qr->set_center_freq(target_freq);
 }

Modified: 
gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.h
===================================================================
--- gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.h  
2009-06-08 18:34:47 UTC (rev 11178)
+++ gnuradio/branches/developers/eb/vrt/gr-vrt/src/vrt_quadradio_source_32fc.h  
2009-06-08 18:52:14 UTC (rev 11179)
@@ -65,7 +65,7 @@
   /*!
    * \brief Set the LO frequency (actually just sets the band select for now).
    */
-  bool set_center_freq(float target_freq);
+  bool set_center_freq(double target_freq);
 
   /*!
    * \brief Set the band select dboard bits.

Modified: gnuradio/branches/developers/eb/vrt/vrt/include/vrt/quadradio.h
===================================================================
--- gnuradio/branches/developers/eb/vrt/vrt/include/vrt/quadradio.h     
2009-06-08 18:34:47 UTC (rev 11178)
+++ gnuradio/branches/developers/eb/vrt/vrt/include/vrt/quadradio.h     
2009-06-08 18:52:14 UTC (rev 11179)
@@ -81,7 +81,7 @@
     bool write_dboard_pins(int v);
 
     /* convenience methods that ultimately write the dboard pins */
-    bool set_center_freq(float target_freq);
+    bool set_center_freq(double target_freq);
     bool set_band_select(const std::string &band);
     void set_10dB_atten(bool on);
     bool select_rx_antenna(const std::string &ant);

Modified: gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc
===================================================================
--- gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc    2009-06-08 
18:34:47 UTC (rev 11178)
+++ gnuradio/branches/developers/eb/vrt/vrt/lib/quadradio.cc    2009-06-08 
18:52:14 UTC (rev 11179)
@@ -68,7 +68,7 @@
 }
 
 bool
-vrt::quadradio::set_center_freq(float target_freq){
+vrt::quadradio::set_center_freq(double target_freq){
     if (target_freq < 700e6) return false;
     if (target_freq <= 1.0e9) return set_band_select("A");
     if (target_freq <= 1.5e9) return set_band_select("B");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]