mirror of
https://github.com/okalachev/flix.git
synced 2026-06-27 21:46:38 +00:00
Disable wi-fi power save to improve responsiveness
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user