git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[matches/MCTX3420.git]
/
server
/
sensor.h
diff --git
a/server/sensor.h
b/server/sensor.h
index
0285252
..
0188361
100644
(file)
--- a/
server/sensor.h
+++ b/
server/sensor.h
@@
-56,9
+56,13
@@
typedef struct
/** Human readable name of the sensor **/
const char * name;
/** Sampling rate **/
/** Human readable name of the sensor **/
const char * name;
/** Sampling rate **/
-
int sample_us
;
+
struct timespec sample_time
;
/** Number of averages per sample **/
int averages;
/** 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