X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=server%2Fmain.c;h=a4b7c5a103f0c4bda022bd99bd9fc8cddc983663;hb=e82f62a21ad1e745f1074464763563c6d1d46b27;hp=bd649a7fa7680544f22a64180980c39fd6d1bd3e;hpb=f153e203bc4215026abd0dcce8427d633b5a6398;p=matches%2FMCTX3420.git diff --git a/server/main.c b/server/main.c index bd649a7..a4b7c5a 100644 --- a/server/main.c +++ b/server/main.c @@ -123,7 +123,7 @@ void Cleanup() { Log(LOGDEBUG, "Begin cleanup."); Sensor_Cleanup(); - //Actuator_Cleanup(); + Actuator_Cleanup(); Log(LOGDEBUG, "Finish cleanup."); } @@ -199,8 +199,6 @@ int main(int argc, char ** argv) - Sensor_Init(); - Actuator_Init(); Pin_Init(); // Try and start things @@ -214,7 +212,7 @@ int main(int argc, char ** argv) FCGI_RequestLoop(NULL); - Conrol_SetMode(CONTROL_STOP, NULL); + Control_SetMode(CONTROL_STOP, NULL); //if ((ret = Control_SetMode(CONTROL_STOP, "test")) != NULL) // Fatal("Control_SetMode failed with '%s'", ret);