Other Parts Discussed in Thread: C2000WARE, MOTORWARE
Tool/software:
I haved read your project "C2000Ware_MotorControl_SDK_5". In file libraries\observers\esmo\source\esmo.c There is the following code:
Void ESMO_resetParams(EMSO_Handle handle)
{
ESMO_Obj *obj = (ESMO_Obj *)handle;
obj -> pll)ui = 0.0f;
....
}
WHY don't you just use the handle variable instead of creating another pointer?