Index: firmware/App/Tasks/TaskPriority.c =================================================================== diff -u -ra3960210792d0811093a6913e505d43eda1918ea -ra89d6b091874136d75a9bfbdbbc1ff00f42467b3 --- firmware/App/Tasks/TaskPriority.c (.../TaskPriority.c) (revision a3960210792d0811093a6913e505d43eda1918ea) +++ firmware/App/Tasks/TaskPriority.c (.../TaskPriority.c) (revision a89d6b091874136d75a9bfbdbbc1ff00f42467b3) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2022 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file TaskPriority.c * -* @author (last) Sean Nash -* @date (last) 12-Nov-2021 +* @author (last) Dara Navaei +* @date (last) 06-Jul-2022 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -58,20 +58,22 @@ // SET_TASK_ON(); // TODO - uncomment and define TASK_TIMING_OUTPUT_ENABLED to monitor this tasks timing #endif +#ifndef BOARD_WITH_NO_HARDWARE // First pass for FPGA - execFPGAIn(); + execFPGAIn(); // Monitor internal ADC channels execInternalADC(); - -#ifndef BOARD_WITH_NO_HARDWARE // Monitor pressures execPressures(); // Monitor load cells execLoadCell(); + // Monitor dialysate flow meter + execDialysateFlowMeterMonitor(); + // Temperature sensors read execTemperatureSensors(); @@ -81,10 +83,8 @@ // Control valves execValves(); -#ifndef DISABLE_ACCELS // Monitor accelerometer execAccel(); -#endif // Monitor RO pump execROPumpMonitor(); @@ -98,21 +98,16 @@ // Monitor fluid leak detector execFluidLeak(); -#endif - - // Monitor dialysate flow meter - execDialysateFlowMeterMonitor(); - // Second pass for FPGA - execFPGAOut(); + execFPGAOut(); +#endif // Check in with watchdog manager checkInWithWatchdogMgmt( TASK_PRIORITY ); #ifdef TASK_TIMING_OUTPUT_ENABLED // SET_TASK_OFF(); // TODO - uncomment and define TASK_TIMING_OUTPUT_ENABLED to monitor this tasks timing #endif - } /**@}*/