# HG changeset patch # User Daniele Nicolodi # Date 1372422806 -7200 # Node ID 6fd67aa13d10e009e3b29ea89638ae4e903526a1 # Parent c1a3b6ef94fee8a5d20764045c1095468ebda919 Minor simplification diff -r c1a3b6ef94fe -r 6fd67aa13d10 fake-data-provider.c --- 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);