X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-examples%2Fpython%2Fdigital%2Ftransmit_path.py;fp=gnuradio-examples%2Fpython%2Fdigital%2Ftransmit_path.py;h=33a41870562fc954ef44849ca54a6828ac7a085d;hb=4f7dda1f147c22377c64e81ff11dd4cd5ccc6210;hp=c11718c347740c828b1bf8f0e840167511c134d9;hpb=3dfdb4be27138fa1b85e6d33b40fd0dd2cdb3a4e;p=debian%2Fgnuradio diff --git a/gnuradio-examples/python/digital/transmit_path.py b/gnuradio-examples/python/digital/transmit_path.py index c11718c3..33a41870 100644 --- a/gnuradio-examples/python/digital/transmit_path.py +++ b/gnuradio-examples/python/digital/transmit_path.py @@ -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)