/************************************************************************** * * Copyright (c) 2019-2020 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 TreatmentStop.c * * @author (last) Sean * @date (last) 02-Mar-2020 * * @author (original) Sean * @date (original) 15-Jan-2020 * ***************************************************************************/ #include "Buttons.h" #include "ModeTreatment.h" #include "OperationModes.h" #include "TreatmentStop.h" /** * @addtogroup TreatmentStop * @{ */ // ********** private data ********** // ********** private function prototypes ********** /*********************************************************************//** * @brief * The initTreatmentStop function initializes the Treatment Stop sub-mode * module. * @details * Inputs : none * Outputs : Treatment Stop sub-mode module initialized. * @return none *************************************************************************/ void initTreatmentStop( void ) { } /*********************************************************************//** * @brief * The transitionToTreatmentStop function prepares for transition to treatment * stop sub-mode. * @details * Inputs : none * Outputs : none * @return none *************************************************************************/ void transitionToTreatmentStop( void ) { } /*********************************************************************//** * @brief * The execTreatmentStop function executes the Treatment Stop sub-mode * state machine. * @details * Inputs : none * Outputs : none * @return none *************************************************************************/ void execTreatmentStop( void ) { // TODO - test code - remove later if ( TRUE == isStopButtonPressed() ) { requestNewOperationMode( MODE_POST ); } } /**@}*/