commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10070 - gnuradio/branches/features/cppdb/gr-usrp/src


From: jcorgan
Subject: [Commit-gnuradio] r10070 - gnuradio/branches/features/cppdb/gr-usrp/src
Date: Wed, 26 Nov 2008 11:27:24 -0700 (MST)

Author: jcorgan
Date: 2008-11-26 11:27:24 -0700 (Wed, 26 Nov 2008)
New Revision: 10070

Modified:
   gnuradio/branches/features/cppdb/gr-usrp/src/usrp.i
Log:
Add USRP FPGA register definitions to Python API

Modified: gnuradio/branches/features/cppdb/gr-usrp/src/usrp.i
===================================================================
--- gnuradio/branches/features/cppdb/gr-usrp/src/usrp.i 2008-11-26 18:22:25 UTC 
(rev 10069)
+++ gnuradio/branches/features/cppdb/gr-usrp/src/usrp.i 2008-11-26 18:27:24 UTC 
(rev 10070)
@@ -45,6 +45,9 @@
 //---Allow a more Pythonic interface
 %pythoncode %{
 
+# Grab USRP register definitions
+from usrpm.usrp_fpga_regs import *
+
 # Allow subdev_spec to be tuple
 def __selected_subdev(self, subdev_spec):
   ss = usrp_subdev_spec(subdev_spec[0], subdev_spec[1])





reply via email to

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