Skip to content
Snippets Groups Projects
Commit efc14bfb authored by Rolf Bork's avatar Rolf Bork
Browse files

Quick fix for code start time for an IOP using dolphin timing

and time not yet being transmitted.
parent 6af50df6
No related branches found
No related tags found
No related merge requests found
......@@ -458,6 +458,10 @@ fe_start_controller( void* arg )
timeSec = remote_time( (struct CDS_EPICS*)pLocalEpics );
#elif USE_DOLPHIN_TIMING
timeSec = sync2master( pcieTimer );
if(timeSec == -1)
{
timeSec = current_time_fe( ) - 1;
}
#elif RUN_WO_IO_MODULES
// printk("Sync to cpu\n");
timeSec = sync2cpuclock( );
......
......@@ -27,7 +27,6 @@ sync2master( volatile TIMING_SIGNAL* timePtr )
int loop = 0;
int cycle = 65535;
printk("sync to master %d\n",timePtr->gps_time);
do
{
udelay( 5 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment