Index: firmware/App/Tasks/TaskPriority.c =================================================================== diff -u -r12ee76519f69faba57247312569fb7e274d87e12 -rbbd5ac2589c8093f681f2284367975ddd220b553 --- firmware/App/Tasks/TaskPriority.c (.../TaskPriority.c) (revision 12ee76519f69faba57247312569fb7e274d87e12) +++ firmware/App/Tasks/TaskPriority.c (.../TaskPriority.c) (revision bbd5ac2589c8093f681f2284367975ddd220b553) @@ -19,7 +19,8 @@ #include "Accel.h" #include "ConductivitySensors.h" -#include "DrainPump.h" +#include "DrainPump.h" +#include "FluidLeak.h" #include "FPGA.h" #include "Heaters.h" #include "InternalADC.h" @@ -56,49 +57,54 @@ // SET_TASK_ON(); // TODO - uncomment and define TASK_TIMING_OUTPUT_ENABLED to monitor this tasks timing #endif - // 1st pass for FPGA + // First pass for FPGA execFPGAIn(); - // monitor internal ADC channels + // Monitor internal ADC channels execInternalADC(); #ifndef BOARD_WITH_NO_HARDWARE - // monitor pressures + + // Monitor pressures execPressures(); - // monitor load cells + // Monitor load cells execLoadCell(); #ifndef DISABLE_HEATERS_AND_TEMPS // Temperature sensors read execTemperatureSensors(); #endif - // conductivity sensors read - execConductivitySensors(); + // Conductivity sensors read + execConductivitySensors(); - // control valves + // Control valves execValves(); #ifndef DISABLE_ACCELS - // monitor accelerometer + // Monitor accelerometer execAccel(); #endif - // monitor RO pump + // Monitor RO pump execROPumpMonitor(); - // monitor drain pump + // Monitor drain pump execDrainPumpMonitor(); // Heaters monitor execHeatersMonitor(); -#endif + + // Monitor fluid leak detector + execFluidLeak(); + +#endif - // 2nd pass for FPGA + // Second pass for FPGA execFPGAOut(); - // check in with watchdog manager + // Check in with watchdog manager checkInWithWatchdogMgmt( TASK_PRIORITY ); #ifdef TASK_TIMING_OUTPUT_ENABLED