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
Change times to be relative to this experiment
[matches/MCTX3420.git]
/
server
/
main.c
diff --git
a/server/main.c
b/server/main.c
index
d1aaa4c
..
75dd628
100644
(file)
--- a/
server/main.c
+++ b/
server/main.c
@@
-7,6
+7,8
@@
#include "common.h"
#include "options.h"
#include "sensor.h"
#include "common.h"
#include "options.h"
#include "sensor.h"
+#include "actuator.h"
+#include "control.h"
// --- Standard headers --- //
#include <signal.h> // for signal handling
// --- Standard headers --- //
#include <signal.h> // for signal handling
@@
-76,12
+78,17
@@
int main(int argc, char ** argv)
}
*/
Sensor_Init();
}
*/
Sensor_Init();
- Sensor_StartAll("test");
+ Actuator_Init();
+ //Sensor_StartAll("test");
+ //Actuator_StartAll("test");
+ Control_Start("test");
// run request thread in the main thread
FCGI_RequestLoop(NULL);
// run request thread in the main thread
FCGI_RequestLoop(NULL);
- Sensor_StopAll();
+ Control_Stop();
+ //Sensor_StopAll();
+ //Actuator_StopAll();
Cleanup();
return 0;
Cleanup();
return 0;
UCC
git Repository :: git.ucc.asn.au