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

Diff for: libraries/SocketWrapper/src/MbedSSLClient.h

+1-2
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)