mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-01 12:05:49 +00:00
FreeRTOS
This commit is contained in:
@@ -142,7 +142,7 @@ void task2(void *pvParameters) {
|
|||||||
printf("Task 2 sent y=%" PRIu32 "\n", y);
|
printf("Task 2 sent y=%" PRIu32 "\n", y);
|
||||||
y++;
|
y++;
|
||||||
|
|
||||||
vTaskDelay((500)); // Delay for 2 seconds
|
vTaskDelay((250)); // Delay for 2 seconds
|
||||||
xSemaphoreGive(xMutex);
|
xSemaphoreGive(xMutex);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user