X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fmain.c;h=6ea256c5de83d4b837c54d9ebd893f99a0c632cd;hb=b3e65dd9cefcc945e4f82e4c6b1764064a53cfeb;hp=d1aaa4ce588dcf4e4eef8d08106f13e6641c8a9b;hpb=d0f77e15cfa58191a7683caf343037c25be9f31c;p=matches%2FMCTX3420.git diff --git a/server/main.c b/server/main.c index d1aaa4c..6ea256c 100644 --- a/server/main.c +++ b/server/main.c @@ -7,6 +7,7 @@ #include "common.h" #include "options.h" #include "sensor.h" +#include "actuator.h" // --- Standard headers --- // #include // for signal handling @@ -76,12 +77,15 @@ int main(int argc, char ** argv) } */ Sensor_Init(); + Actuator_Init(); Sensor_StartAll("test"); + Actuator_StartAll("test"); // run request thread in the main thread FCGI_RequestLoop(NULL); Sensor_StopAll(); + Actuator_StopAll(); Cleanup(); return 0;