Index: firmware/App/Modes/ModeFill.c =================================================================== diff -u -r26f63d0260a3c35277e3e6dbca3573c253775318 -r622eebf6fb7f1c6c232ffd82bc072dd30a7b3f94 --- firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 26f63d0260a3c35277e3e6dbca3573c253775318) +++ firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 622eebf6fb7f1c6c232ffd82bc072dd30a7b3f94) @@ -131,7 +131,7 @@ // Get the heaters info form the NV data management DG_HEATERS_RECORD_T heaterInfo = getHeatersInfoReocrd(); // If the data in the NV data management was not initialized properly, set it to 0 otherwise, set the average flow rate - fillStatus.fillFlowRateAverage = ( heaterInfo.averageFillFlow - 0.0 < NEARLY_ZERO ? 0.0 : heaterInfo.averageFillFlow ); + fillStatus.fillFlowRateAverage = ( heaterInfo.averageFillFlow < NEARLY_ZERO ? 0.0 : heaterInfo.averageFillFlow ); fillStatus.fillFlowRateRunningSum = 0.0; fillStatus.fillSampleCounter = 0; fillStatus.fillTemperatureRunningSum = 0.0; @@ -188,7 +188,6 @@ checkInletWaterTemperature(); checkInletPressure(); checkRORejectionRatio(); - setFillInfoToRTCRAM(); // TODO: Check for open straw door status and alarm if closed // Check if run out of time to fill the reservoir @@ -254,19 +253,6 @@ /*********************************************************************//** * @brief - * The setAvgFillFlowRateToRTCRAM function sets the average fill flow rate - * at the end of the treatment. - * @details Inputs: none - * @details Outputs: averageFillFlowRate - * @return none - *************************************************************************/ -void setAvgFillFlowRateToRTCRAM( void ) -{ - -} - -/*********************************************************************//** - * @brief * The getAverageFillTemperature function returns the average fill temperature * in each fill. * @details Inputs: none