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

Add ElapseTimer class, update HardwareTimer #1442

Merged
merged 5 commits into from
Sep 21, 2018

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Sep 20, 2018

Change hardware timer frequency calculation to account for current divisor setting; not safe to use hard-coded value.
Add usToTimerTicks() and timerTicksToUs() functions.

mikee47 added 4 commits September 20, 2018 22:20
Change hardware timer frequency calculation to account for current divisor setting; not safe to use hard-coded value.
Add usToTimerTicks() and timerTicksToUs() functions.
Copy link
Contributor

@slaff slaff left a comment

Choose a reason for hiding this comment

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

Move the ElapsedTime into the sample for the moment. The rest looks good to me.

Sming/SmingCore/ElapseTimer.h Outdated Show resolved Hide resolved
@slaff slaff added this to the 3.6.2 milestone Sep 21, 2018
@slaff slaff removed the 3 - Review label Sep 21, 2018
@slaff slaff merged commit d87dfa8 into SmingHub:develop Sep 21, 2018
@mikee47 mikee47 deleted the elapsetimer branch September 21, 2018 19:30
@slaff slaff mentioned this pull request Oct 8, 2018
4 tasks
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