Index: firmware/App/Drivers/PinchValve.c =================================================================== diff -u -r3479c42f6bf13fb6c565cc48ba13936e1ec22be9 -rb5fdf613847ef1da828a3213099fe61ce329491c --- firmware/App/Drivers/PinchValve.c (.../PinchValve.c) (revision 3479c42f6bf13fb6c565cc48ba13936e1ec22be9) +++ firmware/App/Drivers/PinchValve.c (.../PinchValve.c) (revision b5fdf613847ef1da828a3213099fe61ce329491c) @@ -131,7 +131,7 @@ PINCH_VALVE_HOME_CMD_RESET_EVENTS_COMPLETE, ///< Pinch valve home command reset events complete PINCH_VALVE_HOME_CMD_SET_PROFILE_MODE_SECOND, ///< Pinch valve home command set profile mode second PINCH_VALVE_HOME_CMD_SET_VELOCITY_THIRD, ///< Pinch valve home command set velocity third - PINCH_VALVE_HOME_CMD_SET_POSITION_A, + PINCH_VALVE_HOME_CMD_SET_POSITION_A, ///< Pinch valve home command set position A PINCH_VALVE_HOME_CMD_UPDATE_THIRD, ///< Pinch valve home command update third PINCH_VALVE_HOME_CMD_GET_EVENT_STATUS_THIRD, ///< Pinch valve home command get event status third NUM_OF_PINCH_VALVE_HOMING_COMMANDS ///< Number of pinch valve in the homing commands @@ -171,7 +171,7 @@ { PINCH_VALVE_PMD_CMD_GET_ACTUAL_POSITION, 0, 0, 0, 0, 2, FALSE }, // Reads and stores for position C { PINCH_VALVE_PMD_CMD_RESET_EVENT_STATUS, PINCH_VALVE_RESET_EVENT_STATUS_VALUE, 0, 0, 1, 0, TRUE }, // Clears event bits after endpoint detection is complete. { PINCH_VALVE_PMD_CMD_SET_PROFILE_MODE, PINCH_VALVE_PROFILE_MODE_S_CURVE, 0, 0, 1, 0, TRUE }, // Selects the profile mode used to move to position A - { PINCH_VALVE_PMD_CMD_SET_POSITION, 0, 0, 0, 2, 0, TRUE }, // Set calculated Position A + { PINCH_VALVE_PMD_CMD_SET_POSITION, 0, 0, 0, 2, 0, TRUE }, // Set calculated Position A { PINCH_VALVE_PMD_CMD_SET_VELOCITY, 0, 0, 0, 2, 0, TRUE }, // Sets the velocity used to move to position A { PINCH_VALVE_PMD_CMD_UPDATE, 0, 0, 0, 0, 0, TRUE }, // Starts movement to the calculated position A. { PINCH_VALVE_PMD_CMD_GET_EVENT_STATUS, 0, 0, 0, 0, 1, FALSE } // Polls event status until the third movement completes @@ -195,7 +195,7 @@ { PINCH_VALVE_PMD_CMD_GET_ACTUAL_POSITION, 0, 0, 0, 0, 2, FALSE }, // Reads and stores for position C { PINCH_VALVE_PMD_CMD_RESET_EVENT_STATUS, PINCH_VALVE_RESET_EVENT_STATUS_VALUE, 0, 0, 1, 0, TRUE }, // Clears event bits after endpoint detection is complete { PINCH_VALVE_PMD_CMD_SET_PROFILE_MODE, PINCH_VALVE_PROFILE_MODE_S_CURVE, 0, 0, 1, 0, TRUE }, // Selects the profile mode used to move to position A - { PINCH_VALVE_PMD_CMD_SET_POSITION, 0, 0, 0, 2, 0, TRUE }, // Set calculated Position A + { PINCH_VALVE_PMD_CMD_SET_POSITION, 0, 0, 0, 2, 0, TRUE }, // Set calculated Position A { PINCH_VALVE_PMD_CMD_SET_VELOCITY, 0, 0, 0, 2, 0, TRUE }, // Sets the velocity used to move to position A { PINCH_VALVE_PMD_CMD_UPDATE, 0, 0, 0, 0, 0, TRUE }, // Starts movement to the calculated position A. { PINCH_VALVE_PMD_CMD_GET_EVENT_STATUS, 0, 0, 0, 0, 1, FALSE } // Polls event status until the third movement completes