Skip to content

Commit

Permalink
#11 maybe here
Browse files Browse the repository at this point in the history
  • Loading branch information
merlokk committed Apr 27, 2017
1 parent 6bcae4c commit f23d2bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ESP8266EASTRON/ESP8266EASTRON.ino
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,15 @@ void wifiSetup(bool withAutoConnect) {

if (withAutoConnect){
if (!wifiManager.autoConnect()) {
if (shouldSaveConfig)
DEBUG_PRINTLN("shouldSaveConfig"); // TODO!!!!!!!!!!!!!!!!!! #11
restart();
}
} else {
String ssid = SF("ESP") + String(ESP.getChipId());
if (!wifiManager.startConfigPortal(ssid.c_str())) {
if (shouldSaveConfig)
DEBUG_PRINTLN("shouldSaveConfig");
DEBUG_PRINTLN("shouldSaveConfig"); // TODO!!!!!!!!!!!!!!!!!!
restart();
}
}
Expand Down

0 comments on commit f23d2bc

Please sign in to comment.