Skip to content

Conversation

@meithecatte
Copy link
Contributor

This makes sure that, if the I2C frequency chosen by the user is too slow to be handled without selecting a different prescaler, the issue doesn't get hidden by silent integer overflow.

Copy link
Owner

@Rahix Rahix left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@Rahix
Copy link
Owner

Rahix commented Nov 27, 2025

Can you fix the formatting that CI complains about?

This makes sure that, if the I2C frequency chosen by the user is too
slow to be handled without selecting a different prescaler, the issue
doesn't get hidden by silent integer overflow.
@Rahix Rahix merged commit 4387daf into Rahix:main Nov 28, 2025
27 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