Skip to content

Idle loop #2

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 8 commits into from
Oct 12, 2018
Merged

Idle loop #2

merged 8 commits into from
Oct 12, 2018

Conversation

aashishc1988
Copy link
Contributor

Adding example for Idle loop.

The current example added for this module is wrong, i.e., I think we havent created an example for this and right now it is pointing to some other example.
Please see,
https://github.com/ARMmbed/mbed-os-5-docs/blob/development/docs/api/platform/IdleLoop.md

@aashishc1988
Copy link
Contributor Author

@AnotherButler

@cmonr cmonr requested a review from AnotherButler October 12, 2018 16:21

void new_idle_loop()
{
led1 = !led1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Intendation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think my copy paste to notepadd++ screwed it up. :(

}

int main() {
watchdogThread.start(callback(&watchdogQueue, &EventQueue::dispatch_forever));
Copy link
Contributor

Choose a reason for hiding this comment

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

Intendation

@aashishc1988
Copy link
Contributor Author

added more comments

Copy link
Contributor

@cmonr cmonr left a comment

Choose a reason for hiding this comment

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

👍

Amanda Butler added 2 commits October 12, 2018 13:39
Copy edit text for precise language.
Standardize capitalization.
@cmonr cmonr merged commit 37dbbe5 into ARMmbed:master Oct 12, 2018
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.

3 participants