Disable wi-fi power save to improve responsiveness

This commit is contained in:
Oleg Kalachev
2026-04-27 16:46:36 +03:00
parent 9bffe5b52f
commit 485a39e740
+1
View File
@@ -25,6 +25,7 @@ void setupWiFi() {
} else if (wifiMode == W_STA) {
WiFi.begin(storage.getString("WIFI_STA_SSID", "").c_str(), storage.getString("WIFI_STA_PASS", "").c_str());
}
WiFi.setSleep(false); // disable power save
udp.begin(udpLocalPort);
}