Fix sensor header
authorSam Moore <[email protected]>
Sat, 19 Oct 2013 15:46:08 +0000 (23:46 +0800)
committerSam Moore <[email protected]>
Sat, 19 Oct 2013 15:46:08 +0000 (23:46 +0800)
Added averaging to sensors but forgot to commit sensor.h
Got overwritten in previous merge.

server/sensor.h

index 0fe2136..0188361 100644 (file)
@@ -59,6 +59,10 @@ typedef struct
        struct timespec sample_time;
        /** Number of averages per sample **/
        int averages;
+       /** Current data **/
+       DataPoint current_data;
+       /** Number of points read so far before applying average **/
+       int num_read;
 
 
        

UCC git Repository :: git.ucc.asn.au