Skip to content

Commit c3cdab0

Browse files
committed
Squashme: fix Nicla Vision build
1 parent f5ea747 commit c3cdab0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/ArduinoIoTCloudTCP.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ int ArduinoIoTCloudTCP::begin(bool const enable_watchdog, String brokerAddress,
170170
#elif defined(ARDUINO_PORTENTA_C33)
171171
_sslClient.setClient(_connection->getClient());
172172
_sslClient.setCACert(AIoTSSCert);
173-
#elif defined(NICLA_VISION)
173+
#elif defined(ARDUINO_NICLA_VISION)
174174
_sslClient.appendCustomCACert(AIoTSSCert);
175175
#elif defined(ARDUINO_EDGE_CONTROL)
176176
_sslClient.appendCustomCACert(AIoTUPCert);

Diff for: src/ArduinoIoTCloudTCP.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include "tls/BearSSLClient.h"
4141
#elif defined(ARDUINO_PORTENTA_C33)
4242
#include <SSLClient.h>
43-
#elif defined(NICLA_VISION)
43+
#elif defined(ARDUINO_NICLA_VISION)
4444
#include <WiFiSSLSE050Client.h>
4545
#elif defined(ARDUINO_EDGE_CONTROL)
4646
#include <GSMSSLClient.h>
@@ -155,7 +155,7 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
155155
BearSSLClient _sslClient;
156156
#elif defined(ARDUINO_PORTENTA_C33)
157157
SSLClient _sslClient;
158-
#elif defined(NICLA_VISION)
158+
#elif defined(ARDUINO_NICLA_VISION)
159159
WiFiSSLSE050Client _sslClient;
160160
#elif defined(ARDUINO_EDGE_CONTROL)
161161
GSMSSLClient _sslClient;

0 commit comments

Comments
 (0)