Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

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