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
Automatic commit of irc logs
[matches/MCTX3420.git]
/
server
/
sensors
/
strain.c
diff --git
a/server/sensors/strain.c
b/server/sensors/strain.c
index
7c78b56
..
64233e2
100644
(file)
--- a/
server/sensors/strain.c
+++ b/
server/sensors/strain.c
@@
-119,6
+119,9
@@
bool Strain_Read(int id, double * value)
if (!GPIO_Set(gpio_num, false))
Fatal("Couldn't set GPIO%d for strain sensor %d to LOW (after reading)", gpio_num, id);
+
+ usleep(200);
+
pthread_mutex_unlock(&mutex);
return result;
UCC
git Repository :: git.ucc.asn.au