Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r83310420ae862de4724f8cfbbaeda9936c47801b -r4961e7b6681c215f18278731a6d3665e7006ddb6 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 83310420ae862de4724f8cfbbaeda9936c47801b) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 4961e7b6681c215f18278731a6d3665e7006ddb6) @@ -29,6 +29,9 @@ #include "TxParams.h" #include "Valve3Way.h" #include "Valves.h" +#if 1 +#include "PinchValve.h" +#endif /** * @addtogroup TDStandbyMode @@ -52,6 +55,9 @@ static TD_STANDBY_STATE_T handleStandbyModeStartState( void ); static TD_STANDBY_STATE_T handleStandbyModeWaitForTreatmentState( void ); +#if 1 +static BOOL startTest = FALSE; +#endif /*********************************************************************//** * @brief @@ -113,6 +119,10 @@ // sendDGServiceRequestToDG(); // sendDGUsageInfoRequestToDG(); +#if 1 + initPinchValveDriver(); +#endif + return currentStandbyState; } @@ -132,6 +142,14 @@ // Ignore stop button in this mode. } +#if 1 + if ( TRUE == startTest ) + { + startTest = FALSE; + homePinchValve( H1_VALV ); + } +#endif + // State machine for standby mode switch ( currentStandbyState ) {