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
Merge branch 'master' of github:szmoore/MCTX3420
[matches/MCTX3420.git]
/
server
/
actuator.c
diff --git
a/server/actuator.c
b/server/actuator.c
index
04938ba
..
e650cf8
100644
(file)
--- a/
server/actuator.c
+++ b/
server/actuator.c
@@
-349,7
+349,7
@@
void Actuator_Handler(FCGIContext * context, char * params)
FCGI_RejectJSON(context, "No id or name supplied");
return;
}
FCGI_RejectJSON(context, "No id or name supplied");
return;
}
- else if (id < 0 || id >=
ACTUATORS_MAX
)
+ else if (id < 0 || id >=
g_num_actuators
)
{
FCGI_RejectJSON(context, "Invalid Actuator id");
return;
{
FCGI_RejectJSON(context, "Invalid Actuator id");
return;
@@
-386,7
+386,6
@@
void Actuator_Handler(FCGIContext * context, char * params)
return;
}
Actuator_SetControl(a, &c);
return;
}
Actuator_SetControl(a, &c);
-
}
// Begin response
}
// Begin response
UCC
git Repository :: git.ucc.asn.au