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
}
}
+1 -1
View File
@@ -235,7 +235,7 @@ class WiFiManager
#endif
std::unique_ptr<WM_WebServer> server;
int _menuids_cnt = 9;
uint8_t _menuids_cnt = 9;
const char * const _menutokens[9] = {
"wifi",
"wifinoscan",