Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r8345f0415ce34f2f47afcbf613a00216769f51c6 -r5b9b3a6bbbdc9257ddf01fdbe781a8f6748beafa --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 8345f0415ce34f2f47afcbf613a00216769f51c6) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 5b9b3a6bbbdc9257ddf01fdbe781a8f6748beafa) @@ -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 ) {