Add in live values data page + minor gui fixes
[matches/MCTX3420.git] / server / fastcgi.c
index 75863c1..76ce61f 100644 (file)
@@ -78,7 +78,7 @@ static void IdentifyHandler(FCGIContext *context, char *params)
                                FCGI_JSONValue(",\n\t\t");
                        }
 
-                       DataPoint d = Sensor_LastData(i);
+                       DataPoint d = Actuator_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