-
-
Notifications
You must be signed in to change notification settings - Fork 86
fixing millis rollover bug x2 #196
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 However, please use either "underscore case" start_millis
or drop the millis
suffix, since all other variables here seem to be non CamelCase.
const correct Co-authored-by: Alexander Entinger <[email protected]>
Fixes arduino#195 Includes review from @aentinger
I just changed the name to start as suggested. It looks like everything compiles now. Please let me know if it needs anything else. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Fix TwoWire::read_from and TwoWire::write_to to use proper millis code that can handle rollover.
Fixes issue #195