Skip to content

i2c: allow setting a timeout to accommodate devices with longer clock stretching #211

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

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

liebman
Copy link
Contributor

@liebman liebman commented Feb 21, 2023

Some i2c devices require a longer timeout to allow clock stretching. This PR adds an optional timeout to the i2c master config.

@ivmarkov ivmarkov merged commit bcd4537 into esp-rs:master Feb 27, 2023
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