Author: matt Date: 2007-12-17 00:15:21 -0700 (Mon, 17 Dec 2007) New Revision: 7211
Modified: usrp2/trunk/firmware/lib/u2_init.c Log: can't do this in the sim, or it fails because there is no response Modified: usrp2/trunk/firmware/lib/u2_init.c =================================================================== --- usrp2/trunk/firmware/lib/u2_init.c 2007-12-17 05:36:36 UTC (rev 7210) +++ usrp2/trunk/firmware/lib/u2_init.c 2007-12-17 07:15:21 UTC (rev 7211) @@ -88,7 +88,6 @@ ad9777_write_reg(12, 0); // Set up serdes - //output_regs->serdes_ctrl = (SERDES_ENABLE | SERDES_LOOPEN | SERDES_RXEN); output_regs->serdes_ctrl = (SERDES_ENABLE | SERDES_RXEN); pic_init(); // progammable interrupt controller @@ -104,9 +103,9 @@ hal_set_leds(0x0, 0x3); mdelay(100); - int r0 = ad9777_read_reg(r0); - if (r0 & R0_PLL_LOCKED) - hal_set_leds(0x2, 0x2); + //int r0 = ad9777_read_reg(r0); + //if (r0 & R0_PLL_LOCKED) + // hal_set_leds(0x2, 0x2); return true; } _______________________________________________ Commit-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/commit-gnuradio
