Skip to content

Commit e198939

Browse files
authored
Use startWiFi SSID and PW arguments
1 parent ff061f7 commit e198939

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)