Skip to content
Snippets Groups Projects
Commit 66c4cf86 authored by Gunar Schorcht's avatar Gunar Schorcht
Browse files

cpu/esp8266: avoid WiFi going into sleep mode

parent 57fdb234
No related branches found
No related tags found
No related merge requests found
......@@ -684,6 +684,9 @@ static void _esp_wifi_setup(void)
/* set the the reconnect timer */
xtimer_set(&_esp_wifi_reconnect_timer, ESP_WIFI_RECONNECT_TIME);
/* avoid the WiFi modem going into sleep mode */
wifi_set_sleep_type(NONE_SLEEP_T);
/* connect */
wifi_station_connect();
_esp_wifi_dev.state = ESP_WIFI_CONNECTING;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment