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

Fix mtp race condition #162

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

Fix mtp race condition #162

wants to merge 1 commit into from

Conversation

navzam
Copy link
Member

@navzam navzam commented Jul 23, 2022

Fixes #150 by reordering the register writes in mtp to avoid a bad race condition. See my comment in #150 for more details on the issue and other possible solutions.

I tested this using the code in #150, as well as other edge cases I could think of by combining motor/mtp/mrp/bmd in different ways. But it'd be good for someone else to test too.

Or if someone implements a different solution, I'm happy to abandon this PR.

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.

Bug Report: mrp not working
1 participant