2024-02-14 01:05 AM
Hello,
I am using MC Workbench v. 6.2.1.
The function "__weak bool MCI_StartWithPolarizationMotor(MCI_Handle_t* pHandle)" is supposed to return true on success. But it is currently returning false. This function is located in "mc_interface.c" at line 422.
Function is used in "void MCP_ReceivedPacket(MCP_Handle_t *pHandle)", which is located in "mcp.c" at line 223.
This function calls the "StartWithPolarizationMotor" when MCP sends the command "START_MOTOR" and "START_STOP". In the case of "START_MOTOR" it expects a false return to be successful. But in the case of "START_STOP" it expects a true to be returned if successful.
Since this is a weak function, i have replaced it in my own code. Just thought you should know so you can fix it in the next update.
Best Regards
Ole
Solved! Go to Solution.
2024-02-15 12:21 AM
Hello,
Thank you for your bug report.
I will enter a ticket on our side, and it will be solved on further version.
2024-02-15 12:21 AM
Hello,
Thank you for your bug report.
I will enter a ticket on our side, and it will be solved on further version.
2024-05-17 01:22 AM
Hello,
This issue has been fixed in our new MCSDK 6.3.0 release,
so feel free to download it and try if it solved correctly your issue reported in this post.
Kind Regards.
Amina.