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
Wrote code to implement camera
[matches/MCTX3420.git]
/
server
/
sensor.c
diff --git
a/server/sensor.c
b/server/sensor.c
index
d146905
..
53b3f03
100644
(file)
--- a/
server/sensor.c
+++ b/
server/sensor.c
@@
-47,7
+47,7
@@
int Sensor_Add(const char * name, int user_id, ReadFn read, InitFn init, CleanFn
s->init = init; // Set init function
// Start by averaging values taken over a second
- DOUBLE_TO_TIMEVAL(1
e-3
, &(s->sample_time));
+ DOUBLE_TO_TIMEVAL(1, &(s->sample_time));
s->averages = 1;
s->num_read = 0;
UCC
git Repository :: git.ucc.asn.au