Skip to content

Commit 665d986

Browse files
committed
BearSSL: add delay to allow watchdog task while waiting connection
1 parent fb7236e commit 665d986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino/libraries/ArduinoBearSSL/src/BearSSLClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ int BearSSLClient::connectSSL(const char* host)
320320
} else if (state & BR_SSL_CLOSED) {
321321
return 0;
322322
}
323+
delay(1);
323324
}
324325

325326
return 1;

0 commit comments

Comments
 (0)