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

Open
dordnung wants to merge1 commit intostm32duino:main
base:main
Choose a base branch
Loading
fromdordnung:fix/wire_recover_master_only

Conversation

dordnung
Copy link

@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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fpistmfpistmfpistm approved these changes

@cparatacparataAwaiting requested review from cparata

Assignees
No one assigned
Labels
fix 🩹Bug fix
Projects
Status: In progress
Milestone
2.11.0
Development

Successfully merging this pull request may close these issues.

2 participants
@dordnung@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp