FreeRTOS - Task Notifications
Given this FreeRTOS code snippet, what is the main issue?
uint32_t notifyValue;
if (xTaskNotifyWait(0, 0xFFFFFFFF, ¬ifyValue, portMAX_DELAY) == pdTRUE) {
// Process notification
process(notifyValue);
}
// Later
xQueueSend(queueHandle, &data, 0);