From 51986d2be4471a21ec95ba50c82b7e2c9c744e6f Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 5 Aug 2025 03:58:37 -0400 Subject: [PATCH] FreeRTOS --- ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/.ninja_lock | 0 .../I2C_MultiDevice/build/CMakeFiles/git-data/head-ref | 2 +- ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/.ninja_lock diff --git a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/.ninja_lock b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/CMakeFiles/git-data/head-ref b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/CMakeFiles/git-data/head-ref index 6ea6eb867..5aaa1c31f 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/CMakeFiles/git-data/head-ref +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -8da805638aed8a119d2c042d20e5a841acfed0dc +c5fb86e6ab8b9517345084603b1fc234f3f11776 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 cf54d47ec..e03f989c9 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c @@ -100,7 +100,7 @@ void task1(void *pvParameters) { if (xSemaphoreTake(xMutex, 1500)) { printf("Task 1 is running\n"); s_data.num1 = x; - xQueueSend(xQueue1, &s_data.num1, 0); + xQueueSend(xQueue1, &s_data, 0); printf("Task 1 sent x=%" PRIu32 "\n", x); x+=2; vTaskDelay((500));