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 c007523d0..9c6d3651a 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c @@ -114,9 +114,9 @@ void task2(void *pvParameters) { .num2 = 0, .num3 = 0, }; - xQueueSend(xQueue1, &data, 0); - printf("Task 1 sent: id=%d, message=%s\n", data.id, data.message); + printf("Task 1 sent data"); + x++; printf("This is Task #2\n\n"); vTaskDelay((2000)); // Delay for 2 seconds