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

nrf twim return errors in async_wait instead of waiting indefinitely #3745

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

dragonnn
Copy link
Contributor

@dragonnn dragonnn commented Jan 8, 2025

Similar to twis.rs they is no reason as far I can tell to stay in async_wait when an error occurs.
This helped to recover from some bus interference I had without putting with_timeout everywhere.

embassy-nrf/src/twim.rs Outdated Show resolved Hide resolved
Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

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

thanks!

@Dirbaio Dirbaio enabled auto-merge January 8, 2025 18:20
@Dirbaio Dirbaio added this pull request to the merge queue Jan 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 8, 2025
@Dirbaio Dirbaio added this pull request to the merge queue Jan 8, 2025
@Dirbaio Dirbaio removed this pull request from the merge queue due to a manual request Jan 8, 2025
@Dirbaio Dirbaio merged commit cd70c19 into embassy-rs:main Jan 8, 2025
7 checks passed
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.

2 participants