fix compiler warnings

This commit is contained in:
Shawn A
2018-03-20 12:35:01 -05:00
parent 57fc15a20a
commit 881f50fb7e
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -2169,6 +2169,7 @@ bool WiFiManager::WiFi_Disconnect() {
return esp_wifi_disconnect() == ESP_OK;
// return WiFi.disconnect();
#endif
return false;
}
// toggle STA without persistent
@@ -2267,6 +2268,6 @@ void WiFiManager::WiFi_autoReconnect(){
if(_wifiAutoReconnect){
DEBUG_WM(DEBUG_VERBOSE,"ESP32 event handler enabled");
WiFi.onEvent(WiFiEvent);
}
}
#endif
}
}