Merge branch 'upstream'
[debian/gnuradio] / gnuradio-examples / python / digital / transmit_path.py
index c11718c347740c828b1bf8f0e840167511c134d9..33a41870562fc954ef44849ca54a6828ac7a085d 100644 (file)
@@ -6,7 +6,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,
@@ -86,7 +86,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)