Index: firmware/source/sys_main.c =================================================================== diff -u -rd5574e12aa9638c933d11b9bee8d5cf024864440 -r410afd26b3ae5e372310c696c82f58c59235e10d --- firmware/source/sys_main.c (.../sys_main.c) (revision d5574e12aa9638c933d11b9bee8d5cf024864440) +++ firmware/source/sys_main.c (.../sys_main.c) (revision 410afd26b3ae5e372310c696c82f58c59235e10d) @@ -47,6 +47,8 @@ /* Include Files */ +#include +#include #include "sys_common.h" /* USER CODE BEGIN (1) */ @@ -61,28 +63,28 @@ #include "system.h" #include "sys_dma.h" -#include "AlarmMgmtRO.h" +#include "AlarmMgmtFP.h" #include "CommBuffers.h" #include "Conductivity.h" #include "DDInterface.h" -#include "FilterFlush.h" #include "Flow.h" -#include "FpgaRO.h" +#include "FpgaFP.h" #include "InternalADC.h" #include "Interrupts.h" #include "Level.h" -#include "MembraneFlush.h" #include "ModeFault.h" #include "ModeInitPOST.h" +#include "ModeGenPermeateDefeatured.h" +#include "ModePreGenPermeateDefeatured.h" +#include "ModeGenPermeate.h" +#include "ModePreGenPermeate.h" #include "ModeStandby.h" -#include "ModeWaterGen.h" -#include "ModeWaterPreGen.h" #include "MsgQueues.h" #include "OperationModes.h" #include "Pressure.h" #include "ROPump.h" #include "SafetyShutdown.h" -#include "SystemCommRO.h" +#include "SystemCommFP.h" #include "TaskBG.h" #include "Temperature.h" #include "Timers.h" @@ -167,11 +169,11 @@ initSemaphores(); initTimers(); initSafetyShutdown(); - initAlarmMgmtRO(); + initAlarmMgmtFP(); initWatchdogMgmt(); initCommBuffers(); initMsgQueues(); - initSystemCommRO(); + initSystemCommFP(); initTestConfigs(); // Services @@ -200,11 +202,12 @@ // Modes initOperationModes(); - initGenWaterMode(); + initGenPermeateMode(); initStandbyMode(); initInitAndPOSTMode(); initFaultMode(); - initPreGenWMode(); + initPreGenPMode(); + initFilterFlush(); } /*************************************************************************