add delay for wifi reconnect
This commit is contained in:
@@ -63,6 +63,8 @@ bool WifiDevice::isConnected()
|
|||||||
|
|
||||||
bool WifiDevice::reconnect()
|
bool WifiDevice::reconnect()
|
||||||
{
|
{
|
||||||
|
vTaskDelay( 1000 / portTICK_PERIOD_MS);
|
||||||
|
|
||||||
return isConnected();
|
return isConnected();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user