mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-17 00:21:31 +10:00
esp32 autoconnect is deprecated
https://github.com/espressif/esp-idf/issues/1960
This commit is contained in:
+3
-2
@@ -1338,8 +1338,7 @@ void WiFiManager::handleInfo() {
|
||||
F("dnss"),
|
||||
F("host"),
|
||||
F("stamac"),
|
||||
F("conx"),
|
||||
F("autoconx")
|
||||
F("conx")
|
||||
};
|
||||
|
||||
for(size_t i=0; i<23;i++){
|
||||
@@ -1532,8 +1531,10 @@ String WiFiManager::getInfoData(String id){
|
||||
p.replace(FPSTR(T_1),WiFi.isConnected() ? FPSTR(S_y) : FPSTR(S_n));
|
||||
}
|
||||
else if(id==F("autoconx")){
|
||||
#ifdef ESP8266
|
||||
p = FPSTR(HTTP_INFO_autoconx);
|
||||
p.replace(FPSTR(T_1),WiFi.getAutoConnect() ? FPSTR(S_enable) : FPSTR(S_disable));
|
||||
#endif
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
+1
-1
@@ -428,7 +428,7 @@ class WiFiManager
|
||||
} wm_debuglevel_t;
|
||||
|
||||
boolean _debug = true;
|
||||
uint8_t _debugLevel = DEBUG_VERBOSE;
|
||||
uint8_t _debugLevel = DEBUG_DEV;
|
||||
Stream& _debugPort; // debug output stream ref
|
||||
|
||||
template <typename Generic>
|
||||
|
||||
Reference in New Issue
Block a user