mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
esp32: fix typo
This commit is contained in:
parent
c1a874fb9e
commit
01cc811ee0
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user