commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8250 - usrp2/trunk/firmware/lib


From: matt
Subject: [Commit-gnuradio] r8250 - usrp2/trunk/firmware/lib
Date: Wed, 23 Apr 2008 14:09:06 -0600 (MDT)

Author: matt
Date: 2008-04-23 14:09:05 -0600 (Wed, 23 Apr 2008)
New Revision: 8250

Modified:
   usrp2/trunk/firmware/lib/u2_init.c
Log:
use the new structure from the memory map


Modified: usrp2/trunk/firmware/lib/u2_init.c
===================================================================
--- usrp2/trunk/firmware/lib/u2_init.c  2008-04-23 20:07:11 UTC (rev 8249)
+++ usrp2/trunk/firmware/lib/u2_init.c  2008-04-23 20:09:05 UTC (rev 8250)
@@ -69,9 +69,7 @@
 #define LOCK_NONE 1
 #define THEY_LOCK_TO_ME 0
 
-  volatile int *pps_ctrl = (int *) 0xF800;
-  *pps_ctrl = 4;
-  //*pps_ctrl = 0x1;   // we're the master; tick source is internal
+  timesync_regs->tick_control = 4;
 
   // if(I WANT TO LOCK TO A REFERENCE CLOCK) 
   if(LOCK_TO_EXT_REF || LOCK_TO_MIMO_REF) {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]