Index: firmware/App/Modes/ModeFlush.h =================================================================== diff -u -rd7926685f2fe3086bab183166119f0965a192a69 -r7d4711edd7b40cd3e29f43e766f79a8a09586fe9 --- firmware/App/Modes/ModeFlush.h (.../ModeFlush.h) (revision d7926685f2fe3086bab183166119f0965a192a69) +++ firmware/App/Modes/ModeFlush.h (.../ModeFlush.h) (revision 7d4711edd7b40cd3e29f43e766f79a8a09586fe9) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * -* @file ModeFlush.h +* @file ModeFlush.h * -* @author (last) Quang Nguyen -* @date (last) 24-Aug-2020 +* @author (last) Dara Navaei +* @date (last) 24-Oct-2021 * -* @author (original) Leonardo Baloa -* @date (original) 20-Dec-2019 +* @author (original) Leonardo Baloa +* @date (original) 20-Dec-2019 * ***************************************************************************/ @@ -29,21 +29,10 @@ * @{ */ -// ********** public definitions ********** - -/// Flush mode data publish struct -typedef struct -{ - U32 flushState; ///< Flush state. - U32 overallElapsedTime; ///< Overall elapsed time in flush mode. - U32 stateElapsedTime; ///< Current flush elapsed time. - F32 drainLineVolume; ///< Drain line volume. -} MODE_FLUSH_DATA_T; - // ********** public function prototypes ********** void initFlushMode( void ); // initialize this module -void transitionToFlushMode( void ); // prepares for transition to pre-treatment mode +U32 transitionToFlushMode( void ); // prepares for transition to pre-treatment mode U32 execFlushMode( void ); // execute the pre-treatment mode state machine (call from OperationModes) DG_FLUSH_STATE_T getCurrentFlushState( void ); // get the current state of the flush mode.