git-svn-id: svn://elaine/murooma/trunk@98 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-07-16 20:25:45 +00:00
parent 0682b81270
commit d539ae5ea0
2 changed files with 9 additions and 9 deletions

View file

@ -56,9 +56,9 @@ int main () {
{
usleep((nextTick - currentTick) * 1000);
}
gettimeofday(&now, NULL);
if (abs(diff_ms(now, start)) > 200)
start = now;
else
gettimeofday(&start, NULL);
nextTick += WIRE_CHUNK_MS;
}
delete chunk;