Boss lady
Boss lady
DIIDevHeads IoT Integration Server
Created by Boss lady on 6/24/2024 in #middleware-and-os
How can I manage communication between tasks using queues in FreeRTOS?
How can I manage communication between tasks using queues in FreeRTOS? My queue data seems to be getting lost, and I'm encountering the error: "Queue send failed". Here's my queue creation and send code:
xQueue = xQueueCreate(10, sizeof(int));
int value = 42;
xQueueSend(xQueue, &value, portMAX_DELAY);
xQueue = xQueueCreate(10, sizeof(int));
int value = 42;
xQueueSend(xQueue, &value, portMAX_DELAY);
@Middleware & OS @Helper
12 replies