Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mbrtu_m.c #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update mbrtu_m.c #52

wants to merge 1 commit into from

Conversation

zjykymt
Copy link

@zjykymt zjykymt commented Mar 26, 2020

Master模式下,接收缓冲区的索引在“接收到第一个字节”时重置修改为“开启发送”时重置

Master模式下,接收缓冲区的索引在“接收到第一个字节”时重置修改为“开启发送”时重置
@zjykymt
Copy link
Author

zjykymt commented Mar 26, 2020

我测试时发现,若是我上一条指令正常接收到数据,若下一条指令一个字节都收不到的话(无法进入xMBMasterRTUReceiveFSM),接收缓冲区的索引就一直不更新了。所以我认为换到发送时进行重置会比较合理,麻烦你看下是否可行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant