silence event debug

This commit is contained in:
tablatronix
2019-02-26 21:37:57 -06:00
parent f0441f65b7
commit 4873c7c632
+1 -1
View File
@@ -2678,11 +2678,11 @@ String WiFiManager::WiFi_SSID(){
#ifdef ESP32
void WiFiManager::WiFiEvent(WiFiEvent_t event,system_event_info_t info){
DEBUG_WM(DEBUG_VERBOSE,"[EVENT]",event);
if(!_hasBegun){
// DEBUG_WM(DEBUG_VERBOSE,"[ERROR] WiFiEvent, not ready");
return;
}
// DEBUG_WM(DEBUG_VERBOSE,"[EVENT]",event);
if(event == SYSTEM_EVENT_STA_DISCONNECTED){
DEBUG_WM(DEBUG_VERBOSE,"[EVENT] WIFI_REASON:",info.disconnected.reason);
if(info.disconnected.reason == WIFI_REASON_AUTH_EXPIRE || info.disconnected.reason == WIFI_REASON_AUTH_FAIL){