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

Avoid hang on application crash #155

Closed
loostrum opened this issue Jan 17, 2024 · 0 comments · Fixed by #157
Closed

Avoid hang on application crash #155

loostrum opened this issue Jan 17, 2024 · 0 comments · Fixed by #157

Comments

@loostrum
Copy link
Member

The firmware uses a few infinite loops to wait for specific communication from the host. If communication with the host is interrupted, this may leave the microcontroller in an undefined state where it won't respond to the host anymore.

Solution: add a timeout to make the uC reset itself (or recover more elegantly where possible).

@loostrum loostrum linked a pull request Feb 6, 2024 that will close this issue
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 a pull request may close this issue.

1 participant