From e0a02c1a7c619b7a94dc9e1cb738c16ae51f39a3 Mon Sep 17 00:00:00 2001 From: israel Date: Mon, 10 Jun 2019 01:02:54 +0200 Subject: [PATCH] AP_STAIPASSIGNED now passes the IP through 'event_data' Signed-off-by: xueyunfei --- components/esp_event/event_send_compat.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_event/event_send_compat.inc b/components/esp_event/event_send_compat.inc index 57abb34cbb..78fbb14b65 100644 --- a/components/esp_event/event_send_compat.inc +++ b/components/esp_event/event_send_compat.inc @@ -107,7 +107,7 @@ esp_err_t esp_event_send_to_default_loop(system_event_t *event) HANDLE_SYS_EVENT_ARG(IP, ETH_GOT_IP, got_ip); HANDLE_SYS_EVENT(IP, STA_LOST_IP); HANDLE_SYS_EVENT_ARG(IP, GOT_IP6, got_ip6); - HANDLE_SYS_EVENT(IP, AP_STAIPASSIGNED); + HANDLE_SYS_EVENT_ARG(IP, AP_STAIPASSIGNED,ap_staipassigned); default: return ESP_ERR_NOT_SUPPORTED; }