From e1240eef4a7104c5bf95bc093c5c0bc5ef1a42a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Andr=C3=A1ssy?= Date: Tue, 31 Oct 2023 10:21:20 +0100 Subject: [PATCH] MbedSSLClient - remove unnecessary dependecy to specific BlockDevice --- libraries/SocketWrapper/src/MbedSSLClient.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/SocketWrapper/src/MbedSSLClient.h b/libraries/SocketWrapper/src/MbedSSLClient.h index c4705fc7b..3ef2d9a1c 100644 --- a/libraries/SocketWrapper/src/MbedSSLClient.h +++ b/libraries/SocketWrapper/src/MbedSSLClient.h @@ -23,7 +23,6 @@ #include "MbedClient.h" #include #include -#include extern const char CA_CERTIFICATES[]; @@ -58,7 +57,7 @@ class MbedSSLClient : public arduino::MbedClient { int setRootCA() { mbed::BlockDevice* root = mbed::BlockDevice::get_default_instance(); int err = root->init(); - if( err != QSPIF_BD_ERROR_OK) { + if( err != 0) { return err; }