mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
Set the ESP to no power saving more
This commit is contained in:
parent
6ae261da50
commit
2ef994c9ca
@ -4,6 +4,8 @@ void WiFiHandler::setupWifi(const char *ssid, const char *password, StateManager
|
||||
{
|
||||
log_d("Initializing connection to wifi");
|
||||
|
||||
WiFi.mode(WIFI_STA);
|
||||
WiFi.setSleep(WIFI_PS_NONE);
|
||||
WiFi.begin(ssid, password);
|
||||
|
||||
log_d("connecting");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user