Implemented BLE Quiet.
This commit is contained in:
parent
c514219ccc
commit
1a27af361d
5 changed files with 68 additions and 6 deletions
|
@ -61,7 +61,11 @@ void Init_KEvents(void)
|
|||
void Post_KEvent(KEvent_T *event)
|
||||
{
|
||||
Remap_Event(event);
|
||||
xQueueSend(xQueueEvents, event, 0);
|
||||
if (BLE_HandleCommonEvents(event) == SYSTEMK_RESULT_EVENT_NOT_HANDLED)
|
||||
{
|
||||
// If the event was not handled by the BLE subsystem, post it to the global event queue.
|
||||
xQueueSend(xQueueEvents, event, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void Post_KEvent_From_ISR(KEvent_T *event, portBASE_TYPE *xHigherPriorityTaskWoken)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue