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
/
main.c
diff --git
a/server/main.c
b/server/main.c
index
d1aaa4c
..
6ea256c
100644
(file)
--- a/
server/main.c
+++ b/
server/main.c
@@
-7,6
+7,7
@@
#include "common.h"
#include "options.h"
#include "sensor.h"
#include "common.h"
#include "options.h"
#include "sensor.h"
+#include "actuator.h"
// --- Standard headers --- //
#include <signal.h> // for signal handling
// --- Standard headers --- //
#include <signal.h> // for signal handling
@@
-76,12
+77,15
@@
int main(int argc, char ** argv)
}
*/
Sensor_Init();
}
*/
Sensor_Init();
+ Actuator_Init();
Sensor_StartAll("test");
Sensor_StartAll("test");
+ Actuator_StartAll("test");
// run request thread in the main thread
FCGI_RequestLoop(NULL);
Sensor_StopAll();
// run request thread in the main thread
FCGI_RequestLoop(NULL);
Sensor_StopAll();
+ Actuator_StopAll();
Cleanup();
return 0;
Cleanup();
return 0;
UCC
git Repository :: git.ucc.asn.au