Skip to content
Snippets Groups Projects
Commit 0498e6d6 authored by Erik von Reis's avatar Erik von Reis
Browse files

changed heartbeat loop to eliminate race condition where end-of-epoch test for...

changed heartbeat loop to eliminate race condition where end-of-epoch test for epoch 15 might succeed immediately, triggering rapid heartbeats every 10 ms for the next 60+ ms.
parent d39ae23e
No related branches found
No related tags found
1 merge request!122Changed heartbeat loop to eliminate race condition at end of second
......@@ -689,7 +689,7 @@ unsigned int curDaqBlockSize;
}
} while(timeCycle?
*ioMemDataCycle < timeCycle:
*ioMemDataCycle > (65536 - 4096));
*ioMemDataCycle > (32768));
//int timeSec = ioMemData->gpsSecond;
//printf("TimeSec=%d; timeCycle=%d, cycle=%d\n", timeSec, timeCycle, ioMemData->iodata[ll][0].cycle);
......
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