From: Sam Moore Date: Sat, 19 Oct 2013 15:46:08 +0000 (+0800) Subject: Fix sensor header X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=96e02fdc860522ed7785bbfed214cda185d0ff5a;p=matches%2FMCTX3420.git Fix sensor header Added averaging to sensors but forgot to commit sensor.h Got overwritten in previous merge. --- diff --git a/server/sensor.h b/server/sensor.h index 0fe2136..0188361 100644 --- a/server/sensor.h +++ b/server/sensor.h @@ -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;