-
Notifications
You must be signed in to change notification settings - Fork 26
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
Idle loop #2
Conversation
IdleLoop/main.cpp
Outdated
|
||
void new_idle_loop() | ||
{ | ||
led1 = !led1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intendation
There was a problem hiding this comment.
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. :(
IdleLoop/main.cpp
Outdated
} | ||
|
||
int main() { | ||
watchdogThread.start(callback(&watchdogQueue, &EventQueue::dispatch_forever)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intendation
added more comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Copy edit text for precise language.
Standardize capitalization.
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