Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -ra1b8dbb69c4bd2f0cc22e62bede7015c9307d378 -rdc7d3658ccc03992b4f093e36d05cfc8bf5e0598 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision a1b8dbb69c4bd2f0cc22e62bede7015c9307d378) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision dc7d3658ccc03992b4f093e36d05cfc8bf5e0598) @@ -362,6 +362,28 @@ /*********************************************************************//** * @brief + * The startDGHeatDisinfect function starts heat disinfect mode. + * @details Inputs: standbyState + * @details Outputs: none + * @return: TRUE if the switch was successful + *************************************************************************/ +BOOL startDGHeatDisinfect( void ) +{ + BOOL result = FALSE; + + // If DG is in standby mode and the standby mode is in Idle state, request DG heat disinfection + //if ( DG_MODE_STAN == getCurrentOperationMode() && DG_STANDBY_MODE_STATE_IDLE == standbyState ) + { + requestNewOperationMode( DG_MODE_HEAT ); + + result = TRUE; + } + + return result; +} + +/*********************************************************************//** + * @brief * The getCurrentStandbyState function returns the current state of standby mode. * @details Inputs: standbyState * @details Outputs: none