From 608c7547fbdabd13e5f58a34ca733356b701dfc8 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Fri, 5 Aug 2022 16:14:51 +0200 Subject: [PATCH] ESP32 Wifi AP mode no sleep --- WifiESP32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WifiESP32.cpp b/WifiESP32.cpp index fc7a276..770557e 100644 --- a/WifiESP32.cpp +++ b/WifiESP32.cpp @@ -146,6 +146,7 @@ bool WifiESP::setup(const char *SSid, strPass.concat(strMac); WiFi.mode(WIFI_AP); + WiFi.setSleep(false); if (WiFi.softAP(strSSID.c_str(), havePassword ? password : strPass.c_str(), channel, false, 8)) {