Author: matt
Date: 2007-12-17 17:57:11 -0700 (Mon, 17 Dec 2007)
New Revision: 7225

Modified:
   usrp2/trunk/firmware/apps/rx_only.c
Log:
properly scaled gain


Modified: usrp2/trunk/firmware/apps/rx_only.c
===================================================================
--- usrp2/trunk/firmware/apps/rx_only.c 2007-12-18 00:54:45 UTC (rev 7224)
+++ usrp2/trunk/firmware/apps/rx_only.c 2007-12-18 00:57:11 UTC (rev 7225)
@@ -158,7 +158,7 @@
   // setup RX DSP regs
   dsp_rx_regs->clear_state = 1;                // reset
   dsp_rx_regs->freq = 0;
-  dsp_rx_regs->scale_iq = (1 << 16) | 1;
+  dsp_rx_regs->scale_iq = (256 << 16) | 256;
   dsp_rx_regs->decim_rate = 63;        // register gets N - 1
 
   uint32_t cmd = MK_RX_CMD(10000 * DSP_RX_SAMPLES_PER_FRAME, 
DSP_RX_SAMPLES_PER_FRAME);



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

Reply via email to