You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#BEGIN
#include<Arduino.h>voidsetup() {
//reset settings - for testing
myWiFi.resetSettings();
myWiFi.setConfigPortalTimeout(160);
if ( !myWiFi.autoConnect("Companion-NG") {
log_println("[Wifi] - Failed to connect and hit timeout");
delay(3000);
//reset and try again, or maybe put it to deep sleep
ESP.restart();
delay(5000);
}
}
voidloop() {
}
#END
Basic Infos
Core panic when doing APCallback call back, because "_apcallback" variable is not properly initialized by default in WiFiManager.h.
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
Core Version: 2.4.0, staging
Description
Core panic when doing APCallback call, because "_apcallback" variable is not properly initialized to NULL by default.
To be solved by initializing _apcallback=NULLL (and all callback functions) in WiFiManager.h, or calling myWiFi.setAPCallback(NULL) in sketch;
Settings in IDE
Module: NodeMcu, Wemos D1
Additional libraries:
Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: