esp32: fix typo

This commit is contained in:
Wu Jian Gang 2016-09-14 13:26:17 +08:00
parent c1a874fb9e
commit 01cc811ee0
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ config WIFI_AUTO_CONNECT
If station is enabled, and station config is set, this will enable WiFi If station is enabled, and station config is set, this will enable WiFi
station auto connect when WiFi startup. station auto connect when WiFi startup.
config SYSTEM_ENENT_QUEUE_SIZE config SYSTEM_EVENT_QUEUE_SIZE
int "system event queue size" int "system event queue size"
default 32 default 32
depends on WIFI_ENABLED depends on WIFI_ENABLED

View File

@ -358,7 +358,7 @@ esp_err_t esp_event_init(system_event_cb_t cb, void *ctx)
g_event_handler_cb = cb; g_event_handler_cb = cb;
g_event_ctx = ctx; 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); xTaskCreatePinnedToCore(esp_system_event_task, "eventTask", ESP_TASKD_EVENT_STACK, NULL, ESP_TASKD_EVENT_PRIO, NULL, 0);
return ESP_OK; return ESP_OK;