Index: firmware/App/Modes/ModeFill.c =================================================================== diff -u -r945dcc1391faefe5f4ddb4f505361501d008e293 -r88fdd83b43ef9c2d2f06a51e555db1439b668921 --- firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 945dcc1391faefe5f4ddb4f505361501d008e293) +++ firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 88fdd83b43ef9c2d2f06a51e555db1439b668921) @@ -131,7 +131,14 @@ return fillState; } - +/*********************************************************************//** + * @brief + * The handleCheckInletWaterState function checks for inlet water quality + * before jumping to dialysate production state. + * @details Inputs: Temperature and conductivity alarms + * @details Outputs: request concentrate pump on and set RO pump flow rate + * @return the next state + *************************************************************************/ static DG_FILL_MODE_STATE_T handleCheckInletWaterState( void ) { DG_FILL_MODE_STATE_T result = DG_FILL_MODE_STATE_CHECK_INLET_WATER; @@ -230,6 +237,14 @@ return result; } +/*********************************************************************//** + * @brief + * The handleDialysateMixing function handles the dialysate mixing by setting + * the concentrate pump speed relative to the RO pump flow rate. + * @details Inputs: none + * @details Outputs: Set concentrate pump speed relative to RO pump flow rate + * @return none + *************************************************************************/ static void handleDialysateMixing( void ) { // Set concentrate pumps speed based off RO pump flow rate