Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -r768316a02d297b8075f87e43693b1ce2a7c99dea -r8ed262e62891c1b84d14e42f13befe826ff65670 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 768316a02d297b8075f87e43693b1ce2a7c99dea) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 8ed262e62891c1b84d14e42f13befe826ff65670) @@ -7,8 +7,8 @@ * * @file DGInterface.c * -* @author (last) Sean Nash -* @date (last) 08-Mar-2023 +* @author (last) Dara Navaei +* @date (last) 16-Mar-2023 * * @author (original) Sean * @date (original) 08-Apr-2020 @@ -1010,7 +1010,6 @@ { BOOL start = TRUE; dgCmdResp[ DG_CMD_START_CHEM_DISINFECT ].commandID = DG_CMD_NONE; - sendDGStartChemicalDisinfectModeCommand( start ); } @@ -1031,6 +1030,36 @@ /*********************************************************************//** * @brief + * The cmdStartDGChememicalFlushDisinfect function sends a start chemical disinfect + * flush command message to the DG. + * @details Inputs: none + * @details Outputs: start chemical disinfect flush mode command sent to DG. + * @return none + *************************************************************************/ +void cmdStartDGChememicalFlushDisinfect( void ) +{ + BOOL start = TRUE; + dgCmdResp[ DG_CMD_START_CHEM_DISINFECT_FLUSH ].commandID = DG_CMD_NONE; + sendDGStartChemicalDisinfectFlushModeCommand( start ); +} + +/*********************************************************************//** + * @brief + * The cmdStopDGChemFlushDisinfect function sends a stop chemical disinfect + * flush command message to the DG. + * @details Inputs: none + * @details Outputs: stop chemical disinfect flush mode command sent to DG. + * @return none + *************************************************************************/ +void cmdStopDGChemFlushDisinfect( void ) +{ + BOOL start = FALSE; + dgCmdResp[ DG_CMD_STOP_CHEM_DISINFECT_FLUSH ].commandID = DG_CMD_NONE; + sendDGStartChemicalDisinfectFlushModeCommand( start ); +} + +/*********************************************************************//** + * @brief * The cmdRequestDGConcentrateRatios function sends a request to DG to receive * the concentrate ratios. * @details Inputs: none