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
Diff: src/OutputTask/OutputTask.cpp
- Revision:
- 51:66b820f203a5
- Parent:
- 48:1c7861d80d16
- Child:
- 56:225786c56315
--- a/src/OutputTask/OutputTask.cpp Tue Sep 13 16:00:45 2016 +0000 +++ b/src/OutputTask/OutputTask.cpp Tue Sep 13 21:29:24 2016 +0000 @@ -2,6 +2,13 @@ void OutputTask(void const *args) { + UNUSED(args); + while (true) { + // wait for an event + osEvent evt = MailBox.get(); + if (evt.status == osEventMail) { + OutputControlReq_t *msg = (OutputControlReq_t*) evt.value.p; + } } } \ No newline at end of file