diff fake-data-provider.c @ 107:6fd67aa13d10

Minor simplification
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 28 Jun 2013 14:33:26 +0200
parents 4102fe614df2
children 5bba1d1c3b46
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);