summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/usrp_siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/src/python/usrp_siggen.py')
-rwxr-xr-xgr-utils/src/python/usrp_siggen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/usrp_siggen.py b/gr-utils/src/python/usrp_siggen.py
index af6eee167..f0a096e2d 100755
--- a/gr-utils/src/python/usrp_siggen.py
+++ b/gr-utils/src/python/usrp_siggen.py
@@ -166,7 +166,7 @@ def main ():
print "Using TX d'board %s" % (tb.subdev.side_and_name(),)
if options.gain is None:
- tb.subdev.set_gain(fg.subdev.gain_range()[1]) # set max Tx gain
+ tb.subdev.set_gain(tb.subdev.gain_range()[1]) # set max Tx gain
else:
tb.subdev.set_gain(options.gain) # set max Tx gain