Skip to content

Commit e01d88e

Browse files
committed
USE_WIFI_CLIENT_SECURE
1 parent accb75e commit e01d88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/CoreAudio/AudioHttp/URLStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class URLStream : public AbstractURLStream {
320320
client.setTimeout(clientTimeout / 1000);
321321
request.setTimeout(clientTimeout);
322322

323-
#ifdef ESP32
323+
#ifdef USE_WIFI_CLIENT_SECURE
324324
// There is a bug in IDF 4!
325325
if (clientSecure != nullptr) {
326326
clientSecure->setHandshakeTimeout(handshakeTimeout);

0 commit comments

Comments
 (0)