summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/digital
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-07-12 18:25:09 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2007-07-12 18:25:09 +0000
commitb4d5fd2ff94d41f7981f87081a5d58cda1016ee5 (patch)
tree83993d0886f89f2773245ae8a6e91f3984f2cfb2 /gnuradio-examples/python/digital
parentc39968a6c89b0d428eb25385bcc6306c8eeb8f26 (diff)
Fix gain setting in digital example transmit path. Only affects BasicTX and LFTX operation.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5947 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/digital')
-rw-r--r--gnuradio-examples/python/digital/transmit_path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-examples/python/digital/transmit_path.py b/gnuradio-examples/python/digital/transmit_path.py
index 753f59999a..2e7e88e0f4 100644
--- a/gnuradio-examples/python/digital/transmit_path.py
+++ b/gnuradio-examples/python/digital/transmit_path.py
@@ -87,7 +87,7 @@ class transmit_path(gr.hier_block):
# Set the USRP for maximum transmit gain
# (Note that on the RFX cards this is a nop.)
- self.set_gain(self.subdev.gain_range()[0])
+ self.set_gain(self.subdev.gain_range()[1])
self.amp = gr.multiply_const_cc(1)
self.set_tx_amplitude(self._tx_amplitude)