mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 05:47:07 +00:00
FreeRTOS
This commit is contained in:
@@ -112,7 +112,7 @@ void task1(void *pvParameters) {
|
|||||||
xQueueSend(xQueue1, &data, 0);
|
xQueueSend(xQueue1, &data, 0);
|
||||||
xQueueSend(xQueue1, &s_data, 0);
|
xQueueSend(xQueue1, &s_data, 0);
|
||||||
printf("Task 1 sent x=%" PRIu32 "\n", x);
|
printf("Task 1 sent x=%" PRIu32 "\n", x);
|
||||||
x++;
|
x+=2;
|
||||||
|
|
||||||
vTaskDelay((500)); // Delay for 1 second
|
vTaskDelay((500)); // Delay for 1 second
|
||||||
xSemaphoreGive(xMutex);
|
xSemaphoreGive(xMutex);
|
||||||
|
Reference in New Issue
Block a user