Skip to content
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

fix 49.7 day systick rollover #17

Merged
merged 1 commit into from Feb 8, 2015
Merged

Conversation

kiwime
Copy link

@kiwime kiwime commented Feb 8, 2015

With a systick set to 1mS, after 49.7 days a rollover occurs. Since the systickTicks counter is incremented prior to the test for a rollover, the result from a call to systickGetSecondsActive() is incorect and the rollover never actually occurs. Moving the increment to after the test fixes it.

microbuilder added a commit that referenced this pull request Feb 8, 2015
fix 49.7 day systick rollover
@microbuilder microbuilder merged commit 585b448 into microbuilder:master Feb 8, 2015
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.

None yet

2 participants