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 bdb67b7ef..a9be61b8b 100644 --- a/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c +++ b/ESP32-IDF_FreeRTOS/I2C_MultiDevice/main/hello_world_main.c @@ -77,6 +77,7 @@ void app_main(void) printf("Failed to create mutex\n"); return; } + xQueue = xQueueCreate(10, sizeof(SensorsData)); xQueue1 = xQueueCreate(10, sizeof(SensorsData)); xQueue2 = xQueueCreate(10, sizeof(SensorsData)); if (xQueue1 == NULL || xQueue2 == NULL) {