diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 5e4cd26c2d..36c6f7af8e 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -24,7 +24,7 @@ config WIFI_AUTO_CONNECT If station is enabled, and station config is set, this will enable WiFi station auto connect when WiFi startup. -config SYSTEM_ENENT_QUEUE_SIZE +config SYSTEM_EVENT_QUEUE_SIZE int "system event queue size" default 32 depends on WIFI_ENABLED diff --git a/components/esp32/event.c b/components/esp32/event.c index 2be1e08fb2..c1d9d4e73b 100644 --- a/components/esp32/event.c +++ b/components/esp32/event.c @@ -358,7 +358,7 @@ esp_err_t esp_event_init(system_event_cb_t cb, void *ctx) g_event_handler_cb = cb; g_event_ctx = ctx; - g_event_handler = xQueueCreate(CONFIG_SYSTEM_ENENT_QUEUE_SIZE, sizeof(system_event_t)); + g_event_handler = xQueueCreate(CONFIG_SYSTEM_EVENT_QUEUE_SIZE, sizeof(system_event_t)); xTaskCreatePinnedToCore(esp_system_event_task, "eventTask", ESP_TASKD_EVENT_STACK, NULL, ESP_TASKD_EVENT_PRIO, NULL, 0); return ESP_OK;