Skip to content

allow users to tweak the I2C timeout#1233

Merged
fpistm merged 2 commits into
stm32duino:masterfrom
pi-r-p:fixI2Ctimeout
Nov 6, 2020
Merged

allow users to tweak the I2C timeout#1233
fpistm merged 2 commits into
stm32duino:masterfrom
pi-r-p:fixI2Ctimeout

Conversation

@pi-r-p

@pi-r-p pi-r-p commented Nov 5, 2020

Copy link
Copy Markdown
Contributor

Summary

This PR allow advanced users to tweak I2C timeout.

In some real time critical devices (MakAir ventilator for example), I2C reading of any device timeout after 100ms in case of bus hardware failure (short circuit between lines or bus lines to ground).

@fpistm fpistm added the enhancement New feature or request label Nov 5, 2020
@fpistm fpistm added this to the 2.0.0 milestone Nov 5, 2020
@fpistm

fpistm commented Nov 6, 2020

Copy link
Copy Markdown
Member

Hi @pi-r-p
could you fix the astyle issue.
Thanks

@pi-r-p

pi-r-p commented Nov 6, 2020

Copy link
Copy Markdown
Contributor Author

done

@fpistm fpistm self-requested a review November 6, 2020 14:26

@fpistm fpistm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM
Note:

  • Wiki to update to reference this tweak

@fpistm fpistm merged commit bee8561 into stm32duino:master Nov 6, 2020
@fpistm

fpistm commented Nov 6, 2020

Copy link
Copy Markdown
Member

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants