Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r07f2ffedebb65a5a2b76ed9833c654c24221ec37 -r28b6e281605c1a944c982d0ec7dcdb6f28aac82b --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 07f2ffedebb65a5a2b76ed9833c654c24221ec37) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 28b6e281605c1a944c982d0ec7dcdb6f28aac82b) @@ -30,7 +30,7 @@ // ********** private data ********** static RO_STANDBY_MODE_STATE_T standbyState; ///< Currently active standby state. -static U32 pendingStartRORequest; ///< Flag indicating DD has requested RO start the generate permeate (Overridable). +static U32 pendingStartPreGenRequest; ///< Flag indicating DD has requested RO start the generate permeate. // ********** private function prototypes ********** @@ -46,7 +46,7 @@ void initStandbyMode( void ) { standbyState = RO_STANDBY_MODE_STATE_IDLE; - pendingStartRORequest = FALSE; + pendingStartPreGenRequest = FALSE; } /*********************************************************************//** @@ -103,10 +103,10 @@ { RO_STANDBY_MODE_STATE_T state = RO_STANDBY_MODE_STATE_IDLE; - if ( TRUE == pendingStartRORequest ) + if ( TRUE == pendingStartPreGenRequest ) { - pendingStartRORequest = FALSE; - requestNewOperationMode( RO_MODE_GENP ); + pendingStartPreGenRequest = FALSE; + requestNewOperationMode( RO_MODE_PGEN ); } return state; @@ -126,19 +126,19 @@ /*********************************************************************//** * @brief - * The requestROStart function handles an DD request to start (go to gen permeate mode). + * The requestPreGenStart function handles an DD request to start (go to gen permeate mode). * @details \b Inputs: standbyState * @details \b Outputs: pendingStartRORequest * @return TRUE if request accepted, FALSE if not. *************************************************************************/ -BOOL requestROStart( void ) +BOOL requestPreGenStart( void ) { BOOL result = FALSE; if ( ( RO_MODE_STAN == getCurrentOperationMode() ) && ( RO_STANDBY_MODE_STATE_IDLE == standbyState ) ) { result = TRUE; - pendingStartRORequest = TRUE; + pendingStartPreGenRequest = TRUE; } return result;