summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/hier/sounder/usrp_source.py
diff options
context:
space:
mode:
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 16949998b..0ba9e6161 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: