Author: jcorgan
Date: 2007-07-12 12:25:09 -0600 (Thu, 12 Jul 2007)
New Revision: 5947

Modified:
   gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py
Log:
Fix gain setting in digital example transmit path.  Only affects BasicTX and 
LFTX operation.

Modified: gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py
===================================================================
--- gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py    
2007-07-12 15:28:08 UTC (rev 5946)
+++ gnuradio/trunk/gnuradio-examples/python/digital/transmit_path.py    
2007-07-12 18:25:09 UTC (rev 5947)
@@ -87,7 +87,7 @@
 
         # 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)



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to