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 in live values data page + minor gui fixes
[matches/MCTX3420.git]
/
server
/
fastcgi.c
diff --git
a/server/fastcgi.c
b/server/fastcgi.c
index
75863c1
..
76ce61f
100644
(file)
--- a/
server/fastcgi.c
+++ b/
server/fastcgi.c
@@
-78,7
+78,7
@@
static void IdentifyHandler(FCGIContext *context, char *params)
FCGI_JSONValue(",\n\t\t");
}
- DataPoint d =
Sens
or_LastData(i);
+ DataPoint d =
Actuat
or_LastData(i);
FCGI_JSONValue("\"%d\" : {\"name\" : \"%s\", \"value\" : [%f, %f] }", i, Actuator_GetName(i), d.time_stamp, d.value);
}
FCGI_JSONValue("\n\t}");
UCC
git Repository :: git.ucc.asn.au