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

上位机代码不可重入 #8

Open
xxyyttxx opened this issue Dec 29, 2017 · 0 comments
Open

上位机代码不可重入 #8

xxyyttxx opened this issue Dec 29, 2017 · 0 comments
Labels

Comments

@xxyyttxx
Copy link

由于串口void Usart2_Send(uint8_t *, uint32_t);仅仅记录下这两个值,中断的时候再输出。这样的话,就得保证buf不被修改。

然而上位机代码并没有措施保证。

这可能是导致误码的一个原因。

@xxyyttxx xxyyttxx added the bug label Dec 30, 2017
xxyyttxx added a commit that referenced this issue Jan 1, 2018
解决误码问题
#8 连续的输出导致误码。
这个bug目前只是绕开了,要彻底解决得完成对资源的控制。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant