From 4a11ffef29437b354d3d36a37d5c69ef0275ef7e Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 5 Aug 2025 03:09:14 -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 8aa2ba789..0b513bb2b 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c @@ -39,7 +39,7 @@ void restart_task(void *pvParameters); void app_main(void) { - cntdn = 10; + cntdn = 20; s_data = (SensorsData) { .num1 = 0, .num2 = 0, @@ -142,7 +142,7 @@ void task2(void *pvParameters) { printf("Task 2 sent y=%" PRIu32 "\n", y); y++; - vTaskDelay((2000)); // Delay for 2 seconds + vTaskDelay((500)); // Delay for 2 seconds xSemaphoreGive(xMutex); } else {