mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-05 04:38:44 +05:00
fix: added timeout for wifi client
This commit is contained in:
1 parent
cf4a60dd2d
commit
68f412e670
1 file changed
+1
@@ -73,6 +73,7 @@ protected:
|
|||||||
// wificlient settings
|
// wificlient settings
|
||||||
#ifdef ARDUINO_ARCH_ESP8266
|
#ifdef ARDUINO_ARCH_ESP8266
|
||||||
this->wifiClient->setSync(true);
|
this->wifiClient->setSync(true);
|
||||||
|
this->wifiClient->setTimeout(1000);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// client settings
|
// client settings
|
||||||
|
|||||||
Reference in new issue
Block a user