Index: firmware/App/Modes/ModeGenDialysate.c =================================================================== diff -u -r724b64673b719eaac10b0c9dd839ad9675274911 -r6e36d2fd90b130f540494f4128951d81e7dc5ed5 --- firmware/App/Modes/ModeGenDialysate.c (.../ModeGenDialysate.c) (revision 724b64673b719eaac10b0c9dd839ad9675274911) +++ firmware/App/Modes/ModeGenDialysate.c (.../ModeGenDialysate.c) (revision 6e36d2fd90b130f540494f4128951d81e7dc5ed5) @@ -411,6 +411,26 @@ /*********************************************************************//** * @brief + * The requestDDGenDialyasteStop function handles an TD request to stop + * generation dialysis mode. + * @details \b Inputs: Generation dialysate mode / state + * @details \b Outputs: mode transition + * @return TRUE if request accepted, FALSE if not. + *************************************************************************/ +BOOL requestDDGenDialyasteStop( void ) +{ + BOOL status = TRUE; + + //TODO: Transition to post gen dialysate and standby + + // Transition to mode standby + requestNewOperationMode( DD_MODE_STAN ); + + return status; +} + +/*********************************************************************//** + * @brief * The handleGenDDialysateDeliveryPauseState function pause the dialysate * delivery due to alarms conditions or some control asked to be in * paused state.