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
add fclose to shadow login
[matches/MCTX3420.git]
/
server
/
actuator.c
diff --git
a/server/actuator.c
b/server/actuator.c
index
617136e
..
7473485
100644
(file)
--- a/
server/actuator.c
+++ b/
server/actuator.c
@@
-457,3
+457,9
@@
Actuator * Actuator_Identify(const char * name)
}
return NULL;
}
+
+DataPoint Actuator_LastData(int id)
+{
+ Actuator * a = &(g_actuators[id]);
+ return a->last_setting;
+}
UCC
git Repository :: git.ucc.asn.au