From 8622fda76412819164b43325f22c5bad30a3d45a Mon Sep 17 00:00:00 2001 From: xiaxiaotian Date: Tue, 6 Sep 2016 16:14:40 +0800 Subject: [PATCH] Change the type of authmode --- components/esp32/include/esp_event.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp32/include/esp_event.h b/components/esp32/include/esp_event.h index e305e70d2f..733aee6739 100755 --- a/components/esp32/include/esp_event.h +++ b/components/esp32/include/esp_event.h @@ -56,7 +56,7 @@ typedef struct { uint8_t ssid_len; /**< SSID length of connected AP */ uint8_t bssid[6]; /**< BSSID of connected AP*/ uint8_t channel; /**< channel of connected AP*/ - uint8_t authmode; + wifi_auth_mode_t authmode; } system_event_sta_connected_t; typedef struct { @@ -67,8 +67,8 @@ typedef struct { } system_event_sta_disconnected_t; typedef struct { - uint8_t old_mode; /**< the old auth mode of AP */ - uint8_t new_mode; /**< the new auth mode of AP */ + wifi_auth_mode_t old_mode; /**< the old auth mode of AP */ + wifi_auth_mode_t new_mode; /**< the new auth mode of AP */ } system_event_sta_authmode_change_t; typedef struct {