8000 Merge pull request #747 from JAndrassy/sslclient_cut_dep · arduino/ArduinoCore-mbed@3142985 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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)
0