From 87b7182ef1ad0383dd32df88314cfa1c7181acd2 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Mon, 20 Mar 2017 11:31:55 +0200 Subject: [PATCH] Give WiFiClient more time to select for writing Fixes: https://github.com/espressif/arduino-esp32/issues/263 --- libraries/WiFi/src/WiFiClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/WiFi/src/WiFiClient.cpp b/libraries/WiFi/src/WiFiClient.cpp index b079836b..10906952 100644 --- a/libraries/WiFi/src/WiFiClient.cpp +++ b/libraries/WiFi/src/WiFiClient.cpp @@ -23,7 +23,7 @@ #include #define WIFI_CLIENT_MAX_WRITE_RETRY (10) -#define WIFI_CLIENT_SELECT_TIMEOUT_US (100000) +#define WIFI_CLIENT_SELECT_TIMEOUT_US (1000000) #define WIFI_CLIENT_FLUSH_BUFFER_SIZE (1024) #undef connect