mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
Changed ssid psk gets to peristent
Status would not show existing saved ssid psk or status if connect failed, as current config is empty if conx fails, this might break something not sure what else I am using non persistent checking for
This commit is contained in:
+5
-3
@@ -3399,10 +3399,12 @@ String WiFiManager::WiFi_psk(bool persistent) const {
|
||||
#ifdef ESP32
|
||||
void WiFiManager::WiFiEvent(WiFiEvent_t event,system_event_info_t info){
|
||||
if(!_hasBegun){
|
||||
#ifdef WM_DEBUG_LEVEL
|
||||
// DEBUG_WM(DEBUG_VERBOSE,"[ERROR] WiFiEvent, not ready");
|
||||
#ifdef WM_DEBUG_LEVEL
|
||||
// DEBUG_WM(DEBUG_VERBOSE,"[ERROR] WiFiEvent, not ready");
|
||||
#endif
|
||||
Serial.println(F("[ERROR] wm not ready"));
|
||||
// Serial.println(F("\n[EVENT] WiFiEvent logging (wm debug not available)"));
|
||||
// Serial.print(F("[EVENT] ID: "));
|
||||
// Serial.println(event);
|
||||
return;
|
||||
}
|
||||
#ifdef WM_DEBUG_LEVEL
|
||||
|
||||
Reference in New Issue
Block a user