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

pbio/drv/legodev: Replace unplug reset by watchdog. #179

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

laurensvalk
Copy link
Member

This keeps the device connection manager in control even if the UART device and PT threads get in a confused state.

Fixes pybricks/support#1137

@coveralls
Copy link

coveralls commented Jul 4, 2023

Coverage Status

coverage: 54.904% (+0.09%) from 54.818% when pulling dbd9175 on legodev-fixes into 920bd47 on master.

Copy link
Member

@dlech dlech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This keeps the device connection manager in control even if the UART
device and PT threads get in a confused state.

It would be nice to know how it got in the confused state to begin with. Do you have logic analyzer data to show what is going on here?

@laurensvalk
Copy link
Member Author

Thanks for the review. It would be nice to get the sensors in a working state for now, while we can consider further separation as in e.g. pybricks/support#1140 as a follow up.

This keeps the device connection manager in control even if the UART
device and PT threads get in a confused state.

Fixes pybricks/support#1137
@laurensvalk laurensvalk merged commit dbd9175 into master Jul 4, 2023
@dlech dlech deleted the legodev-fixes branch July 4, 2023 18:19
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] pup_uart and pup_dcm processes can get out of sync
3 participants