Skip to content

fetch RTC count more atomically #6004

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

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Feb 9, 2022

@dhalbert
Copy link
Collaborator Author

dhalbert commented Feb 9, 2022

@jwfmcclain I think this will fix the problem. The artifacts from this build are here: https://github.com/adafruit/circuitpython/actions/runs/1820321229, so you can download a build and try it.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thanks Dan!

@tannewt tannewt merged commit 54589de into adafruit:main Feb 10, 2022
@dhalbert dhalbert deleted the samd-rtc-count-overflow branch February 10, 2022 18:17
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.

time.monotonic_ns sometimes jumps forward, and then returns the correct value on the next call
2 participants