Skip to content

Fix arithmetic error in rtos-based wait #3202

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
Nov 7, 2016
Merged

Conversation

geky
Copy link
Contributor

@geky geky commented Nov 4, 2016

Fix arithmetic error in rtos-based wait

The value of start is taken from before that wait call, so the value of us shouldn't be changed. This was a simple mistake/fix.

cc @infinnovation, @bogdanm

The value of `start` is taken from before that wait call, so the value
of `us` shouldn't be changed
@bogdanm
Copy link
Contributor

bogdanm commented Nov 4, 2016

Heh, tricky :) 👍

@geky
Copy link
Contributor Author

geky commented Nov 4, 2016

/morph test

@mbed-bot
Copy link

mbed-bot commented Nov 5, 2016

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1002

All builds and test passed!

@sg- sg- merged commit 30e63a2 into ARMmbed:master Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants