Imported Upstream version 3.0.4
[debian/gnuradio] / gnuradio-examples / python / digital / transmit_path.py
index 5c4017362b7100cd24e779502a54825b031b51e3..b89af46d3f0f27d9f7f1a890a05ca6b30bd4dd78 100644 (file)
@@ -5,7 +5,7 @@
 # 
 # GNU Radio is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
 # any later version.
 # 
 # GNU Radio is distributed in the hope that it will be useful,
@@ -85,7 +85,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)