mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 10:03:24 +00:00
FreeRTOS
This commit is contained in:
@@ -128,7 +128,7 @@ void task2(void *pvParameters) {
|
|||||||
.num3 = 0,
|
.num3 = 0,
|
||||||
};
|
};
|
||||||
xQueueSend(xQueue2, &data, 0);
|
xQueueSend(xQueue2, &data, 0);
|
||||||
printf("Task 1 sent data");
|
printf("Task 2 sent data.\n");
|
||||||
y++;
|
y++;
|
||||||
|
|
||||||
vTaskDelay((2000)); // Delay for 2 seconds
|
vTaskDelay((2000)); // Delay for 2 seconds
|
||||||
|
Reference in New Issue
Block a user