Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -rcca326f2741163d8626ed764f4f673bdf453e7d9 -rae2e76dbfba1df4b2655ffdcc3f2e5cd1dde01f4 --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision cca326f2741163d8626ed764f4f673bdf453e7d9) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision ae2e76dbfba1df4b2655ffdcc3f2e5cd1dde01f4) @@ -426,31 +426,6 @@ /*********************************************************************//** * @brief - * The getSetValvePosition function returns the commanded position of a - * given valve. - * @details Inputs: none - * @details Outputs: valvesStatus - * @param valve Valve to get the commanded position of - * @return returns the current commanded position of the given valve - *************************************************************************/ -VALVE_POSITION_T getSetValvePosition( VALVE_T valve ) -{ - VALVE_POSITION_T position = VALVE_POSITION_NOT_IN_POSITION; - - if ( valve < NUM_OF_VALVES ) - { - position = valvesStatus[ valve ].commandedPosition; - } - else - { - SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_SOFTWARE_FAULT, SW_FAULT_ID_HD_VALVES_INVALID_VALVE_SELECTED4, (U32)valve ); - } - - return position; -} - -/*********************************************************************//** - * @brief * The getValveCurrent function returns the current of a valve. * @details Inputs: valvesStatus * @details Outputs: valvesStatus