From bdde97571a0f3ffbf5267ccb27c11bdb6364533f Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 5 Aug 2025 02:56:57 -0400 Subject: [PATCH] FreeRTOS --- ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c index 3d76b890e..d4ac53b1c 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c @@ -102,7 +102,7 @@ void task1(void *pvParameters) { .num3 = 0, }; xQueueSend(xQueue1, &data, 0); - printf("Task 1 sent x=%" PRIu32 "\n"); + printf("Task 1 sent x=%" PRIu32 "\n", x); x++; vTaskDelay((500)); // Delay for 1 second @@ -128,7 +128,7 @@ void task2(void *pvParameters) { .num3 = 0, }; xQueueSend(xQueue2, &data, 0); - printf("Task 2 sent y=%" PRIu32 "\n"); + printf("Task 2 sent y=%" PRIu32 "\n", y); y++; vTaskDelay((2000)); // Delay for 2 seconds