Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -rd62cad9611841e592b4b46b1170e4beb57c1d153 -r6e23d627c3f5a1ef3f7cca5d4e48eb478b0eef4c --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision d62cad9611841e592b4b46b1170e4beb57c1d153) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 6e23d627c3f5a1ef3f7cca5d4e48eb478b0eef4c) @@ -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