Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

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?

UserRevisionLine numberNew 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 }