Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -reffc2a8283d6528109b2401bbad70dc554db4e53 -re69d7ce1c9d88695e25e8ea94529dffdd8592434 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision effc2a8283d6528109b2401bbad70dc554db4e53) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision e69d7ce1c9d88695e25e8ea94529dffdd8592434) @@ -79,7 +79,7 @@ // Set valves to default positions // setValveAirTrap( STATE_CLOSED ); -// setValvePosition( H1, VALVE_POSITION_A_INSERT_EJECT ); +// setValvePosition( H1_VALV, VALVE_POSITION_A_INSERT_EJECT ); // setValvePosition( H19, VALVE_POSITION_A_INSERT_EJECT ); // doorClosedRequired( FALSE, FALSE ); // door no longer required to be closed in standby mode @@ -137,7 +137,7 @@ HD_STANDBY_STATE_T state = STANDBY_WAIT_FOR_TREATMENT_STATE; // Wait for door to be closed so we can home actuators -// if ( STATE_CLOSED == getSwitchState( FRONT_DOOR ) ) +// if ( STATE_CLOSED == getSwitchState( H9_SWCH ) ) // { // // If we haven't already initiated homing of actuators, initiate now // if ( homingInitiated != TRUE ) @@ -278,7 +278,7 @@ // // // Set valves to safe positions // setValveAirTrap( STATE_CLOSED ); -// setValvePosition( H1, VALVE_POSITION_C_CLOSE ); +// setValvePosition( H1_VALV, VALVE_POSITION_C_CLOSE ); // setValvePosition( H19, VALVE_POSITION_C_CLOSE ); // } break;