Index: firmware/source/sys_main.c =================================================================== diff -u -rf308cc4c35eab630ebbbde405cfe47d049afeafb -r4638fd77792d0c7ecbeca3c84369cbed6c2ecee1 --- firmware/source/sys_main.c (.../sys_main.c) (revision f308cc4c35eab630ebbbde405cfe47d049afeafb) +++ firmware/source/sys_main.c (.../sys_main.c) (revision 4638fd77792d0c7ecbeca3c84369cbed6c2ecee1) @@ -65,6 +65,7 @@ #include "AlarmMgmt.h" #include "CommBuffers.h" #include "ConductivitySensors.h" +#include "ConcentratePumps.h" #include "CPLD.h" #include "DrainPump.h" #include "FPGA.h" @@ -83,6 +84,7 @@ #include "TaskBG.h" #include "TemperatureSensors.h" #include "Timers.h" +#include "UVReactors.h" #include "Valves.h" #include "WatchdogMgmt.h" @@ -113,9 +115,7 @@ initTasks(); // setup and start the scheduled tasks // start task background (will not return) -#ifndef _VECTORCAST_ taskBackground(); -#endif /* USER CODE END */ @@ -129,9 +129,8 @@ * @brief initProcessor * The initProcessor function initializes and configures the processor \n * peripherals. - * @details - * Inputs : none - * Outputs : Processor peripherals initialized and configured. + * @details Inputs: none + * @details Outputs: Processor peripherals initialized and configured. * @return none *************************************************************************/ static void initProcessor( void ) @@ -155,9 +154,8 @@ /************************************************************************* * @brief initSoftware * The initSoftware function calls all software module initialize functions. - * @details - * Inputs : none - * Outputs : All modules initialized. + * @details Inputs: none + * @details Outputs: All modules initialized. * @return none *************************************************************************/ static void initSoftware( void ) @@ -176,8 +174,10 @@ initHeaters(); initTemperatureSensors(); initConductivitySensors(); + initConcentratePump(); initROPump(); initDrainPump(); + initUVReactors(); initAccel(); initRTC(); initCommBuffers(); @@ -190,9 +190,8 @@ /************************************************************************* * @brief initHardware * The initHardware function initializes and configures external hardware. - * @details - * Inputs : none - * Outputs : External hardware initialized and configured. + * @details Inputs: none + * @details Outputs: External hardware initialized and configured. * @return none *************************************************************************/ static void initHardware( void ) @@ -202,9 +201,8 @@ /************************************************************************* * @brief initTasks * The initTasks function sets up and starts the scheduled tasks. - * @details - * Inputs : none - * Outputs : Scheduled tasks set up and started. + * @details Inputs: none + * @details Outputs: Scheduled tasks set up and started. * @return none *************************************************************************/ static void initTasks( void )