summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/usrp2_siggen_gui.py
diff options
context:
space:
mode:
authorjcorgan2009-02-23 02:08:43 +0000
committerjcorgan2009-02-23 02:08:43 +0000
commit98dca512c2fdfbed0f9db14bc07fe5c2ed58b83b (patch)
tree6c0576c724b8300838f9bd8244e0f7ece1818fdb /gr-utils/src/python/usrp2_siggen_gui.py
parent09ce7710430c32b09f549eda728e711e41e8f3a6 (diff)
downloadgnuradio-98dca512c2fdfbed0f9db14bc07fe5c2ed58b83b.tar.gz
gnuradio-98dca512c2fdfbed0f9db14bc07fe5c2ed58b83b.tar.bz2
gnuradio-98dca512c2fdfbed0f9db14bc07fe5c2ed58b83b.zip
Cleanup, changed ifc_name() to interface_name()
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10477 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-utils/src/python/usrp2_siggen_gui.py')
-rwxr-xr-xgr-utils/src/python/usrp2_siggen_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/src/python/usrp2_siggen_gui.py b/gr-utils/src/python/usrp2_siggen_gui.py
index 2d9f4f4df..89bc6e589 100755
--- a/gr-utils/src/python/usrp2_siggen_gui.py
+++ b/gr-utils/src/python/usrp2_siggen_gui.py
@@ -23,7 +23,7 @@
import wx
from gnuradio.wxgui import form, slider, gui
import usrp2_siggen
-import math
+import sys, math
class app_gui(object):
def __init__(self, frame, panel, vbox, top_block, options, args):
@@ -43,7 +43,7 @@ class app_gui(object):
self.build_gui()
# TODO: turn these into listeners
- self.myform['ifc'].set_value(self.tb.ifc_name())
+ self.myform['ifc'].set_value(self.tb.interface_name())
self.myform['mac'].set_value(self.tb.mac_addr())
dbid = self.tb.daughterboard_id()
self.myform['dbid'].set_value("%04x" % (dbid,))