Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -rf3d625e2593ced120c4a98b9ed7e28b132445642 -r40aa3e7fba95c1e968f8ad37e5badbae1940b819 --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision f3d625e2593ced120c4a98b9ed7e28b132445642) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision 40aa3e7fba95c1e968f8ad37e5badbae1940b819) @@ -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