mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
ESP32 Wifi AP mode no sleep
This commit is contained in:
parent
5430711672
commit
608c7547fb
|
@ -146,6 +146,7 @@ bool WifiESP::setup(const char *SSid,
|
||||||
strPass.concat(strMac);
|
strPass.concat(strMac);
|
||||||
|
|
||||||
WiFi.mode(WIFI_AP);
|
WiFi.mode(WIFI_AP);
|
||||||
|
WiFi.setSleep(false);
|
||||||
if (WiFi.softAP(strSSID.c_str(),
|
if (WiFi.softAP(strSSID.c_str(),
|
||||||
havePassword ? password : strPass.c_str(),
|
havePassword ? password : strPass.c_str(),
|
||||||
channel, false, 8)) {
|
channel, false, 8)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user