Index: firmware/App/Services/DDInterface.c =================================================================== diff -u -rbcc80fde38b8b94c64a7ad615f9ca3cb6e98c77e -r176bb5bc32a18891912e179dc1bc9293b370bed4 --- firmware/App/Services/DDInterface.c (.../DDInterface.c) (revision bcc80fde38b8b94c64a7ad615f9ca3cb6e98c77e) +++ firmware/App/Services/DDInterface.c (.../DDInterface.c) (revision 176bb5bc32a18891912e179dc1bc9293b370bed4) @@ -15,7 +15,6 @@ * ***************************************************************************/ -#include "DDDefs.h" #include "DDInterface.h" #include "MessagePayloads.h" #include "Messaging.h" @@ -629,20 +628,23 @@ /*********************************************************************//** * @brief - * The cmdStartDDFlush function sends a start flush command message to - * the DD. + * The cmdStartDDHeatDisinfect function sends a Heat Disinfection start + * request to the DD. * @details \b Inputs: none - * @details \b Outputs: start flush mode command sent to DD. + * @details \b Outputs: Heat Disinfection start request sent to DD. * @return none *************************************************************************/ -void cmdStartDDFlush( void ) +void cmdStartDDHeatDisinfect( void ) { - UI_RESPONSE_PAYLOAD_T response; - memset( &response, 0, sizeof( UI_RESPONSE_PAYLOAD_T ) ); - response.accepted = TRUE; + DD_COMMAND_T command = DD_CMD_START_DISINFECT_HEAT; - ddCmdResp[ DD_CMD_START_FLUSH ].commandID = DD_CMD_NONE; - sendMessage( MSG_ID_TD_DD_FLUSH_REQUEST, COMM_BUFFER_OUT_CAN_TD_2_UI, (U08*) &response, sizeof( UI_RESPONSE_PAYLOAD_T ) ); + ddCmdResp[ DD_CMD_START_DISINFECT_HEAT ].commandID = DD_CMD_NONE; + +#ifndef TEST_UI_ONLY + sendMessage( MSG_ID_TD_DD_HEAT_DISINFECT_REQUEST, + COMM_BUFFER_OUT_CAN_TD_2_DD, + (U08 *)&command, sizeof( U32 ) ); +#endif }