summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/hier/sounder/usrp_source.py
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-04-03 20:11:05 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-04-03 20:11:05 +0000
commitbae47cc41eda30e96de5e6d640f467760ae05c23 (patch)
treea531a462dd2bcc2b0d6815d4fbd22c0dfb8d76a5 /gnuradio-examples/python/hier/sounder/usrp_source.py
parent0825379873157f65ebbcdaeed47da5bd760c5276 (diff)
Merged r4767:4859 from developer branch jcorgan/channel, passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4860 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/hier/sounder/usrp_source.py')
-rw-r--r--gnuradio-examples/python/hier/sounder/usrp_source.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnuradio-examples/python/hier/sounder/usrp_source.py b/gnuradio-examples/python/hier/sounder/usrp_source.py
index 16949998b8..0ba9e61611 100644
--- a/gnuradio-examples/python/hier/sounder/usrp_source.py
+++ b/gnuradio-examples/python/hier/sounder/usrp_source.py
@@ -93,7 +93,9 @@ class usrp_source_c(gr.hier_block2):
gain = (g[0]+g[1])/2.0
self._gain = gain
self._subdev.set_gain(self._gain)
-
+ if self._verbose:
+ print "USRP gain set to", self._gain
+
def set_calibration(self, calibration):
self._cal = calibration
if self._verbose: