Index: firmware/App/Modes/ModeHeatDisinfectActiveCool.h =================================================================== diff -u -r1475b55c0a91327f63a99ee5e40a7b55e0c43a06 -r2e56064726838bfb626ec3ea40132c4e3681639a --- firmware/App/Modes/ModeHeatDisinfectActiveCool.h (.../ModeHeatDisinfectActiveCool.h) (revision 1475b55c0a91327f63a99ee5e40a7b55e0c43a06) +++ firmware/App/Modes/ModeHeatDisinfectActiveCool.h (.../ModeHeatDisinfectActiveCool.h) (revision 2e56064726838bfb626ec3ea40132c4e3681639a) @@ -32,29 +32,32 @@ // ********** public definitions ********** -#define RSRVRS_FULL_STABLE_TIME_COUNT ( ( 4 * MS_PER_SECOND ) / TASK_GENERAL_INTERVAL ) ///< Reservoirs 1 & 2 full stable time in counts. +#define RSRVRS_FULL_STABLE_TIME_COUNT ( ( 4 * MS_PER_SECOND ) / TASK_GENERAL_INTERVAL ) ///< Reservoirs 1 & 2 full stable time in counts. /// Heat disinfect active cool data publish struct typedef struct { - U32 heatDisinfectActivCoolState; ///< Heat disinfect active cool state. - U32 overallElapsedTime; ///< Overall elapsed time in heat disinfect active cool mode. - U32 stateElapsedTime; ///< Current heat disinfect active cool elapsed time. - U32 cancellationMode; ///< Heat disinfect active cool cancellation mode. + U32 heatDisinfectActivCoolState; ///< Heat disinfect active cool state. + U32 overallElapsedTime; ///< Overall elapsed time in heat disinfect active cool mode. + U32 stateElapsedTime; ///< Current heat disinfect active cool elapsed time. + U32 cancellationMode; ///< Heat disinfect active cool cancellation mode. } MODE_HEAT_DISINFECT_ACTIVE_COOL_DATA_T; +/// Disinfect reservoir structure typedef struct { - LOAD_CELL_ID_T loadCell; - BOOL drainInit; - DG_RESERVOIR_STATUS_T rStatus; + LOAD_CELL_ID_T loadCell; ///< Load cell ID. + BOOL drainInit; ///< Boolean flag to indicate drain has been initialized. + DG_RESERVOIR_STATUS_T rStatus; ///< Disinfect reservoir status. } DIS_MODE_RSRVR_T; +/// Disinfect reservoir status structure typedef struct { - DIS_MODE_RSRVR_T rsrvr[ NUM_OF_DG_RESERVOIRS ]; - U32 rsrvrFillStableTime; - U32 rsrvrFillStableTimeoutMS; + DIS_MODE_RSRVR_T rsrvr[ NUM_OF_DG_RESERVOIRS ]; ///< Disinfect mode reservoir status array. + U32 rsrvrFillStableTime; ///< Reservoir fill stable status time counter. + U32 rsrvrFillStableTimeoutMS; ///< Reservoir fill stable time out in milliseconds. + BOOL isThisInitialDrain; ///< Boolean flag to indicate whether this is the initial drain or not. } DIS_RSRVR_STATUS_T; // ********** public function prototypes **********