Skip to content

Commit e7489b6

Browse files
committed
actually clean the nvs like jens suggested on the forum
1 parent 807c15b commit e7489b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/configServer.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,10 @@ static void handleNotFound(HTTPRequest * req, HTTPResponse * res) {
691691

692692
bool CreateWifiSoftAP() {
693693
bool softAccOK;
694-
WiFi.disconnect();
694+
// disconnect(bool wifioff = true, bool eraseap = true)
695+
// in the hopes of fixing an occasional issue when ap is not connectable any more after fw upgrade
696+
// https://forum.openbikesensor.org/t/verbindung-zum-obs-wlan-schlaegt-fehl-falsches-passwort/2353/9
697+
WiFi.disconnect(false, false);
695698
log_i("Initialize SoftAP");
696699
String apName = OBS_ID;
697700
String APPassword = "12345678";

0 commit comments

Comments
 (0)