mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 11:30:53 +00:00
FreeRTOS
This commit is contained in:
@@ -1 +1 @@
|
|||||||
8da805638aed8a119d2c042d20e5a841acfed0dc
|
c5fb86e6ab8b9517345084603b1fc234f3f11776
|
||||||
|
@@ -100,7 +100,7 @@ void task1(void *pvParameters) {
|
|||||||
if (xSemaphoreTake(xMutex, 1500)) {
|
if (xSemaphoreTake(xMutex, 1500)) {
|
||||||
printf("Task 1 is running\n");
|
printf("Task 1 is running\n");
|
||||||
s_data.num1 = x;
|
s_data.num1 = x;
|
||||||
xQueueSend(xQueue1, &s_data.num1, 0);
|
xQueueSend(xQueue1, &s_data, 0);
|
||||||
printf("Task 1 sent x=%" PRIu32 "\n", x);
|
printf("Task 1 sent x=%" PRIu32 "\n", x);
|
||||||
x+=2;
|
x+=2;
|
||||||
vTaskDelay((500));
|
vTaskDelay((500));
|
||||||
|
Reference in New Issue
Block a user