Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r6408d79e3a9a543e90b2fa7ab823be348befd391 -rf6fb03f1e20395a61a5d5996f11f802ab8eacb2f --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 6408d79e3a9a543e90b2fa7ab823be348befd391) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision f6fb03f1e20395a61a5d5996f11f802ab8eacb2f) @@ -43,7 +43,7 @@ static DD_STANDBY_MODE_STATE_T standbyState; ///< Currently active standby state. -static OVERRIDE_U32_T pendingStartDDPreGenRequest; ///< Flag indicating TD has requested DD start the pre generation dialysate request(Overridable). +static BOOL pendingStartDDPreGenRequest; ///< Flag indicating TD has requested DD start the pre generation dialysate request. static BOOL pendingBalanceChamberSwOnlyRequest; ///< Flag indicating balancing chamber switch only request. //static BOOL pendingStartDDFlushRequest; ///< Flag indicating TD has requested DD start flush. //static BOOL pendingStartDDHeatDisinfectRequest; ///< Flag indicating TD has requested DD start heat disinfect. @@ -65,10 +65,7 @@ void initStandbyMode( void ) { standbyState = DD_STANDBY_MODE_STATE_IDLE; - pendingStartDDPreGenRequest.data = FALSE; - pendingStartDDPreGenRequest.ovData = FALSE; - pendingStartDDPreGenRequest.ovInitData = FALSE; - pendingStartDDPreGenRequest.override = OVERRIDE_RESET; + pendingStartDDPreGenRequest = FALSE; pendingBalanceChamberSwOnlyRequest = FALSE; // pendingStartDDFlushRequest = FALSE; // pendingStartDDHeatDisinfectRequest = FALSE; @@ -192,9 +189,9 @@ // { // define the alarm // } - if ( TRUE == getU32OverrideValue( &pendingStartDDPreGenRequest ) ) + if ( TRUE == pendingStartDDPreGenRequest ) { - pendingStartDDPreGenRequest.data = FALSE; + pendingStartDDPreGenRequest = FALSE; requestNewOperationMode( DD_MODE_PREG ); } //Test request to handle only balancing chamber switching @@ -261,7 +258,7 @@ if ( DD_STANDBY_MODE_STATE_IDLE == standbyState ) { result = TRUE; - pendingStartDDPreGenRequest.data = TRUE; + pendingStartDDPreGenRequest = TRUE; } return result; @@ -502,21 +499,4 @@ *************************************************************************/ -/*********************************************************************//** - * @brief - * The testDDStartPreGenDialysateOverride function sets the override value - * to start the pre-gen dialysate operation mode. - * @details Inputs: pendingStartDDPreGenRequest - * @details Outputs: pendingStartDDPreGenRequest - * @param message Override message from Dialin which includes the flag - * to override the operation mode. - * @return TRUE if override successful, FALSE if not - *************************************************************************/ -BOOL testDDStartPreGenDialysateOverride( MESSAGE_T *message ) -{ - BOOL result = u32Override( message, &pendingStartDDPreGenRequest, FALSE, TRUE ); - - return result; -} - /**@}*/