Implemented BLE Quiet.

This commit is contained in:
Joe Kearney 2025-07-19 19:20:12 -05:00
parent c514219ccc
commit 1a27af361d
5 changed files with 68 additions and 6 deletions

View file

@ -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)