wifi: add event declarations

This commit is contained in:
Ivan Grokhotkov
2018-08-23 17:50:16 +08:00
parent e37b0ad648
commit 8b57fe9515
2 changed files with 93 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
/* mesh event callback handler */
mesh_event_cb_t g_mesh_event_cb = NULL;
ESP_EVENT_DEFINE_BASE(WIFI_EVENT);
#ifdef CONFIG_PM_ENABLE
static esp_pm_lock_handle_t s_wifi_modem_sleep_lock;