Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/OutputTask/OutputTask.cpp

Committer:
jmarkel44
Date:
2016-09-13
Revision:
51:66b820f203a5
Parent:
48:1c7861d80d16
Child:
56:225786c56315

File content as of revision 51:66b820f203a5:

#include "global.h"

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;
        }
    }
}