mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 03:04:27 +05:00
fix: added timeout for wifi client
This commit is contained in:
@@ -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