From 06fb393371430bc9ddc95edec1a6a77682b25f3a Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 5 Aug 2025 03:01:00 -0400 Subject: [PATCH] FreeRTOS --- ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c | 2 ++ 1 file changed, 2 insertions(+) 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 80af53645..9ba801083 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c @@ -136,7 +136,9 @@ void task2(void *pvParameters) { .num2 = y, .num3 = 0, }; + s_data.num2 = y; xQueueSend(xQueue2, &data, 0); + xQueueSend(xQueue2, &s_data, 0); printf("Task 2 sent y=%" PRIu32 "\n", y); y++;