Skip to content

Commit 3142985

Browse files
authored
Merge pull request #747 from JAndrassy/sslclient_cut_dep
MbedSSLClient - remove unnecessary dependecy to specific BlockDevice
2 parents da1b13a + e1240ee commit 3142985

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/SocketWrapper/src/MbedSSLClient.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "MbedClient.h"
2424
#include <FATFileSystem.h>
2525
#include <MBRBlockDevice.h>
26-
#include <QSPIFBlockDevice.h>
2726

2827
extern const char CA_CERTIFICATES[];
2928

@@ -58,7 +57,7 @@ class MbedSSLClient : public arduino::MbedClient {
5857
int setRootCA() {
5958
mbed::BlockDevice* root = mbed::BlockDevice::get_default_instance();
6059
int err = root->init();
61-
if( err != QSPIF_BD_ERROR_OK) {
60+
if( err != 0) {
6261
return err;
6362
}
6463

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy