commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r8646 - in usrp2/branches/features/host-ng/host-ng: ap


From: eb
Subject: [Commit-gnuradio] r8646 - in usrp2/branches/features/host-ng/host-ng: apps include/usrp2 lib
Date: Sat, 21 Jun 2008 14:40:06 -0600 (MDT)

Author: eb
Date: 2008-06-21 14:40:02 -0600 (Sat, 21 Jun 2008)
New Revision: 8646

Modified:
   usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc
   usrp2/branches/features/host-ng/host-ng/include/usrp2/usrp2.h
   usrp2/branches/features/host-ng/host-ng/lib/usrp2.cc
   usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc
   usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.h
Log:
s/set_rx_freq/set_rx_center_freq/g

Modified: usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc
===================================================================
--- usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc  2008-06-21 
18:41:58 UTC (rev 8645)
+++ usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc  2008-06-21 
20:40:02 UTC (rev 8646)
@@ -114,8 +114,8 @@
   }
 
   usrp2::tune_result tr;
-  if (!u2->set_rx_freq(rx_freq, &tr)){
-    fprintf(stderr, "set_rx_freq(%g) failed\n", rx_freq);
+  if (!u2->set_rx_center_freq(rx_freq, &tr)){
+    fprintf(stderr, "set_rx_center_freq(%g) failed\n", rx_freq);
     exit(1);
   }
 

Modified: usrp2/branches/features/host-ng/host-ng/include/usrp2/usrp2.h
===================================================================
--- usrp2/branches/features/host-ng/host-ng/include/usrp2/usrp2.h       
2008-06-21 18:41:58 UTC (rev 8645)
+++ usrp2/branches/features/host-ng/host-ng/include/usrp2/usrp2.h       
2008-06-21 20:40:02 UTC (rev 8646)
@@ -77,7 +77,7 @@
   /*!
    * Set receiver center frequency
    */
-  bool set_rx_freq(double frequency, tune_result *result);
+  bool set_rx_center_freq(double frequency, tune_result *result);
 
   /*!
    * Set receiver sample rate decimation

Modified: usrp2/branches/features/host-ng/host-ng/lib/usrp2.cc
===================================================================
--- usrp2/branches/features/host-ng/host-ng/lib/usrp2.cc        2008-06-21 
18:41:58 UTC (rev 8645)
+++ usrp2/branches/features/host-ng/host-ng/lib/usrp2.cc        2008-06-21 
20:40:02 UTC (rev 8646)
@@ -52,9 +52,9 @@
   }
   
   bool
-  usrp2::set_rx_freq(double frequency, tune_result *result)
+  usrp2::set_rx_center_freq(double frequency, tune_result *result)
   {
-    return d_impl->set_rx_freq(frequency, result);
+    return d_impl->set_rx_center_freq(frequency, result);
   }
   
   bool

Modified: usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc
===================================================================
--- usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc   2008-06-21 
18:41:58 UTC (rev 8645)
+++ usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.cc   2008-06-21 
20:40:02 UTC (rev 8646)
@@ -204,7 +204,7 @@
   }
   
   bool
-  usrp2::impl::set_rx_freq(double frequency, tune_result *result)
+  usrp2::impl::set_rx_center_freq(double frequency, tune_result *result)
   {
     if (USRP2_IMPL_DEBUG)
       std::cerr << "usrp2: setting rx freq to " << frequency << "...";

Modified: usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.h
===================================================================
--- usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.h    2008-06-21 
18:41:58 UTC (rev 8645)
+++ usrp2/branches/features/host-ng/host-ng/lib/usrp2_impl.h    2008-06-21 
20:40:02 UTC (rev 8646)
@@ -70,7 +70,7 @@
     
     void bg_loop();
     bool set_rx_gain(double gain);
-    bool set_rx_freq(double frequency, tune_result *result);
+    bool set_rx_center_freq(double frequency, tune_result *result);
     bool set_rx_decim(int decimation_factor);
     bool set_rx_scale_iq(int scale_i, int scale_q);
     bool start_rx_streaming(unsigned int items_per_frame);





reply via email to

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