Mercurial > hg > fxanalyse
changeset 107:6fd67aa13d10
Minor simplification
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 28 Jun 2013 14:33:26 +0200 |
parents | c1a3b6ef94fe |
children | 54e7b129ecc2 |
files | fake-data-provider.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/fake-data-provider.c Mon Apr 08 18:11:12 2013 +0200 +++ b/fake-data-provider.c Fri Jun 28 14:33:26 2013 +0200 @@ -23,8 +23,7 @@ /* update data */ gettimeofday(&event.time, NULL); - //data[0] = time.tv_sec + time.tv_usec * 1e-6; - event.data[0] = event.data[0] + 0.1; + event.data[0] += 0.1; /* push data into the data queue */ CmtWriteTSQData(dataQueue, &event, 1, TSQ_INFINITE_TIMEOUT, 0);