Give WiFiClient more time to select for writing

Fixes: https://github.com/espressif/arduino-esp32/issues/263
This commit is contained in:
me-no-dev 2017-03-20 11:31:55 +02:00
parent 9388d8358e
commit 87b7182ef1

View File

@ -23,7 +23,7 @@
#include <errno.h> #include <errno.h>
#define WIFI_CLIENT_MAX_WRITE_RETRY (10) #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) #define WIFI_CLIENT_FLUSH_BUFFER_SIZE (1024)
#undef connect #undef connect