Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(Wire): only recover bus when device is master#2758

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@dordnung
Copy link
Contributor

@dordnungdordnung commentedJun 27, 2025
edited
Loading

Summary

Fixed an issue in Wire.begin() where the I2C bus recovery routine was always triggered, even when initializing as a slave device. This could lead to unintended manipulation of the SCL line while SDA is low - potentially during an active transmission from the master. Only the master should perform a bus recovery.

This PR fix ensures that the SCL line is not manipulated when Wire.begin() is called in slave mode.

Copy link
Member

@fpistmfpistm left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automationgithub-project-automationbot moved this fromIn progress toReviewer approved inSTM32 core based on ST HALJul 2, 2025
@fpistmfpistm merged commitb6ee1c6 intostm32duino:mainJul 2, 2025
24 checks passed
@github-project-automationgithub-project-automationbot moved this fromReviewer approved toDone inSTM32 core based on ST HALJul 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cparatacparatacparata approved these changes

@fpistmfpistmfpistm approved these changes

Assignees

No one assigned

Labels

fix 🩹Bug fix

Projects

Milestone

2.11.0

Development

Successfully merging this pull request may close these issues.

3 participants

@dordnung@cparata@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp