Index: PIDControllers.c =================================================================== diff -u -r9be535ca3ef8126630e0754d78f8f74c4bab02d7 -r5001b602928253e5cb5173a867dca50f1ec7105b --- PIDControllers.c (.../PIDControllers.c) (revision 9be535ca3ef8126630e0754d78f8f74c4bab02d7) +++ PIDControllers.c (.../PIDControllers.c) (revision 5001b602928253e5cb5173a867dca50f1ec7105b) @@ -356,40 +356,5 @@ return output; } -/*********************************************************************//** - * @brief - * The getPIDControllerSignals function returns the latest requested signal sample. - * @details \b Inputs: none - * @details \b Outputs: maxErrorSumStep of controller ID - * @details \b Alarms: ALARM_ID_XX_SOFTWARE_FAULT when invalid PI controller - * Id is passed. - * @details \b Alarms: ALARM_ID_XX_SOFTWARE_FAULT when invalid PI controller - * stemp limit is passed. - * @param controllerID ID filter number - * @param stepLimit maximum step limit - * @return latest sample requested - *************************************************************************/ -void setPIDControllerStepLimit( PID_CONTROLLER_ID_T controllerID, F32 stepLimit ) -{ - PID_CONTROLLER_T *controller; - if ( controllerID < NUM_OF_PID_CONTROLLERS_IDS ) - { - SET_CONTROLLER( controller, controllerID ); - - if ( ( stepLimit > NEARLY_ZERO ) && ( stepLimit < MAX_ILIMIT ) ) - { - controller->maxErrorSumStep = stepLimit; - } - - } - else - { -#ifdef _DD_ - // Invalid controller given - SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DD_SOFTWARE_FAULT, SW_FAULT_ID_PI_CTRL_INVALID_CONTROLLER, (U32)controllerID ) -#endif - } -} - /**@}*/