commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r9311 - gnuradio/branches/developers/trondeau/dbs/gr-u


From: trondeau
Subject: [Commit-gnuradio] r9311 - gnuradio/branches/developers/trondeau/dbs/gr-usrp/src
Date: Sun, 17 Aug 2008 22:03:01 -0600 (MDT)

Author: trondeau
Date: 2008-08-17 22:03:01 -0600 (Sun, 17 Aug 2008)
New Revision: 9311

Modified:
   gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1.i
Log:
generating Python code to wrap some of these accessor functions for backwards 
compatibility.

Modified: gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1.i
===================================================================
--- gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1.i       
2008-08-18 04:01:19 UTC (rev 9310)
+++ gnuradio/branches/developers/trondeau/dbs/gr-usrp/src/usrp1.i       
2008-08-18 04:03:01 UTC (rev 9311)
@@ -50,3 +50,11 @@
 %constant int FPGA_MODE_COUNTING = usrp_standard_rx::FPGA_MODE_COUNTING;
 
 
+%pythoncode %{
+  def selected_subdev(u, spec):
+      return u.selected_subdev(spec)
+  def determine_rx_mux_value(u, spec):
+      return u.determine_rx_mux_value(spec)
+  def determine_tx_mux_value(u, spec):
+      return u.determine_tx_mux_value(spec)
+%}





reply via email to

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