2023-07-20 09:39 AM
The definition of the function is
__weak int16_t STC_GetMecSpeedRefUnitDefault(SpeednTorqCtrl_Handle_t *pHandle) in speed_torq_ctrl.c file.
It is called in mc_tasks.c as below
STC_GetMecSpeedRefUnitDefault(pSTC[M1]),0);
it is called with additional 0 argument, why? What is the purpose of 0?
Solved! Go to Solution.
2023-07-20 09:59 AM
Sorry my mistake
MCI_ExecSpeedRamp(&Mci[M1],STC_GetMecSpeedRefUnitDefault(pSTC[M1]),0); got it.
2023-07-20 09:59 AM
Sorry my mistake
MCI_ExecSpeedRamp(&Mci[M1],STC_GetMecSpeedRefUnitDefault(pSTC[M1]),0); got it.