Skip to content

Commit

Permalink
Merge pull request #17 from xylo04/startWiFi
Browse files Browse the repository at this point in the history
Use startWiFi SSID and PW arguments
  • Loading branch information
cotestatnt authored Jan 7, 2024
2 parents a106e93 + e198939 commit fb214e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AsyncFsWebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ IPAddress AsyncFsWebServer::startWiFi(uint32_t timeout, const char *apSSID, cons
ip = startWiFi(timeout, fn);
if (!ip) {
// No connection, start AP and then captive portal
startCaptivePortal("ESP_AP", "123456789", "/setup");
startCaptivePortal(apSSID, apPsw, "/setup");
ip.fromString("8.8.8.8");
}
return ip;
Expand Down

0 comments on commit fb214e3

Please sign in to comment.