increase reconnect interval to 10s
This commit is contained in:
parent
2eaedd7025
commit
56aaf595b4
|
@ -41,7 +41,7 @@ bool GwWifi::connectInternal(){
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#define RETRY_MILLIS 5000
|
#define RETRY_MILLIS 10000
|
||||||
void GwWifi::loop(){
|
void GwWifi::loop(){
|
||||||
if (wifiClient->asBoolean() && ! clientConnected()){
|
if (wifiClient->asBoolean() && ! clientConnected()){
|
||||||
long now=millis();
|
long now=millis();
|
||||||
|
|
Loading…
Reference in New Issue