git.ucc.asn.au
/
matches
/
MCTX3420.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544b54c
)
Fix sensor header
author
Sam Moore
<
[email protected]
>
Sat, 19 Oct 2013 15:46:08 +0000
(23:46 +0800)
committer
Sam 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
patch
|
blob
|
history
diff --git
a/server/sensor.h
b/server/sensor.h
index
0fe2136
..
0188361
100644
(file)
--- 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;
UCC
git Repository :: git.ucc.asn.au