Skip to content

Commit fb214e3

Browse files
authored
Merge pull request #17 from xylo04/startWiFi
Use startWiFi SSID and PW arguments
2 parents a106e93 + e198939 commit fb214e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncFsWebServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ IPAddress AsyncFsWebServer::startWiFi(uint32_t timeout, const char *apSSID, cons
761761
ip = startWiFi(timeout, fn);
762762
if (!ip) {
763763
// No connection, start AP and then captive portal
764-
startCaptivePortal("ESP_AP", "123456789", "/setup");
764+
startCaptivePortal(apSSID, apPsw, "/setup");
765765
ip.fromString("8.8.8.8");
766766
}
767767
return ip;

0 commit comments

Comments
 (0)