Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -r04f72c18f15a3d7ab960fccea7b99cf93fd9a409 -r5eda37efda2d771de4f5cfb509adf05621a290c3 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 04f72c18f15a3d7ab960fccea7b99cf93fd9a409) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 5eda37efda2d771de4f5cfb509adf05621a290c3) @@ -404,7 +404,7 @@ } /*********************************************************************//** - * @brief execDialOutFlowMonitor + * @brief * The execDialOutFlowMonitor function executes the dialysate outlet pump * and load cell sensor monitor. Checks are performed. Data is published * at appropriate interval. @@ -441,7 +441,7 @@ } /*********************************************************************//** - * @brief execDialOutFlowController + * @brief * The execDialOutFlowController function executes the dialysate outlet pump * ultrafiltration controller state machine. * @details @@ -476,7 +476,7 @@ } /*********************************************************************//** - * @brief handleDialOutPumpOffState + * @brief * The handleDialOutPumpOffState function handles the dialOut pump off state * of the dialOut pump controller state machine. * @details @@ -509,7 +509,7 @@ } /*********************************************************************//** - * @brief handleDialOutPumpRampingUpState + * @brief * The handleDialOutPumpRampingUpState function handles the ramp up state * of the dialOut pump controller state machine. * @details @@ -553,7 +553,7 @@ } /*********************************************************************//** - * @brief handleDialOutPumpRampingDownState + * @brief * The handleDialOutPumpRampingDownState function handles the ramp down state * of the dialOut pump controller state machine. * @details @@ -595,7 +595,7 @@ } /*********************************************************************//** - * @brief handleDialOutPumpControlToTargetState + * @brief * The handleDialOutPumpControlToTargetState function handles the "control to * target" state of the dialOut pump controller state machine. * @details @@ -651,7 +651,7 @@ } /*********************************************************************//** - * @brief stopDialOutPump + * @brief * The stopDialOutPump function sets the dialout flow stop signal and PWM * duty cycle to 0.0. * @details @@ -1006,7 +1006,7 @@ { F32 result = 0.0; - if ( loadCellID <= NUM_OF_LOAD_CELLS - 1 ) + if ( loadCellID < NUM_OF_LOAD_CELLS ) { if ( OVERRIDE_KEY == loadCellWeightInGrams[ loadCellID ].override ) {