重构DMmulti继承自GM6020 修复getMergedControlData漏洞#59
Closed
DoveXY wants to merge 5 commits into
Closed
Conversation
1b65cdc to
7ad6c46
Compare
Contributor
Author
|
因git记录过于混乱,且合并困难,暂时关闭,后续重新rebase再进行pr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为实现getMergedControlData不能正常合并3电机与4电机的问题,新增了三个重载;每个电机只会在自己的 2 字节槽位写入控制值,其余字节恒为 0。
为最小化修改,决定将DMmulti重构至继承GM6020
重构时发现了电机合并控制数据时会叠加到陈旧缓冲区的BUG,进行了修复。