Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
src/OutputTask/OutputTask.cpp@51:66b820f203a5, 2016-09-13 (annotated)
- Committer:
- jmarkel44
- Date:
- Tue Sep 13 21:29:24 2016 +0000
- Revision:
- 51:66b820f203a5
- Parent:
- 48:1c7861d80d16
- Child:
- 56:225786c56315
committing;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jmarkel44 | 48:1c7861d80d16 | 1 | #include "global.h" |
jmarkel44 | 48:1c7861d80d16 | 2 | |
jmarkel44 | 48:1c7861d80d16 | 3 | void OutputTask(void const *args) |
jmarkel44 | 48:1c7861d80d16 | 4 | { |
jmarkel44 | 51:66b820f203a5 | 5 | UNUSED(args); |
jmarkel44 | 51:66b820f203a5 | 6 | |
jmarkel44 | 48:1c7861d80d16 | 7 | while (true) { |
jmarkel44 | 51:66b820f203a5 | 8 | // wait for an event |
jmarkel44 | 51:66b820f203a5 | 9 | osEvent evt = MailBox.get(); |
jmarkel44 | 51:66b820f203a5 | 10 | if (evt.status == osEventMail) { |
jmarkel44 | 51:66b820f203a5 | 11 | OutputControlReq_t *msg = (OutputControlReq_t*) evt.value.p; |
jmarkel44 | 51:66b820f203a5 | 12 | } |
jmarkel44 | 48:1c7861d80d16 | 13 | } |
jmarkel44 | 48:1c7861d80d16 | 14 | } |