Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 'gXcp.MtaPtr' in XcpReadMta() and XcpWriteMta(). (#47)
Bug was introduced in V5.4 with commit 832e0da. In case of multiple consecutive CC_UPLOAD requests from CANape, XcpReadMta() has to update 'gXcp.MtaPtr'. An example sequence sent by CANape would be: CC_SET_MTA -> CC_UPLOAD -> CC_UPLOAD. In case of multiple consecutive CC_DOWNLOAD requests from CANape, XcpWriteMta() has to update 'gXcp.MtaPtr'. An example sequence sent by CANape would be: CC_SET_MTA -> CC_DOWNLOAD -> CC_DOWNLOAD. Also corrected comment above XcpReadMta().
- Loading branch information