mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-13 23:01:20 +10:00
fix compiler warnings
This commit is contained in:
+3
-2
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user