Automatic commit of irc logs
[matches/MCTX3420.git] / server / main.c
index bd649a7..a4b7c5a 100644 (file)
@@ -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);
        

UCC git Repository :: git.ucc.asn.au