This commit is contained in:
2025-08-05 01:44:42 -04:00
parent 75308642f7
commit 728115670d
5 changed files with 10 additions and 6 deletions

View File

@@ -1 +1 @@
ref: refs/heads/main
4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -18,7 +18,7 @@ set(HEAD_HASH)
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_FreeRTOS/I2C_MultiDevice/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
set(GIT_DIR "/home/abobkov/MyProjects/ESP-Nodes/.git")
set(GIT_DIR "/home/abobkov/esp/v5.4.1/esp-idf/.git")
# handle git-worktree
if(EXISTS "${GIT_DIR}/commondir")
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)

View File

@@ -1 +1 @@
113b1d7c52d55b7aae16a6eb7dd672523c2e91d3
4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -88,9 +88,13 @@ void task1(void *pvParameters) {
void task2(void *pvParameters) {
while (1) {
printf("Task 2 is running\n");
printf("This is Task #2\n\n");
vTaskDelay((2000)); // Delay for 2 seconds
if (xSemaphoreTake(xMutex, portMAX_DELAY)) {
printf("Task 2 is running\n");
printf("This is Task #2\n\n");
vTaskDelay((2000)); // Delay for 2 seconds
xSemaphoreGive(xMutex);
}
vTaskDelay((100));
}
}