mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 05:56:44 +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) {
|
} else if (wifiMode == W_STA) {
|
||||||
WiFi.begin(storage.getString("WIFI_STA_SSID", "").c_str(), storage.getString("WIFI_STA_PASS", "").c_str());
|
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);
|
udp.begin(udpLocalPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user