Skip to content

Commit c835977

Browse files
author
Luigi Gubello
committed
Fix examples
1 parent 68c4256 commit c835977

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/utility/ArduinoIoTCloud_Travis_CI/thingProperties.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ String str_property_6;
5454
String str_property_7;
5555
String str_property_8;
5656

57-
const int MIN_NTP_PORT = 49152;
58-
const int MAX_NTP_PORT = 65535;
57+
int MIN_NTP_PORT = 49152;
58+
int MAX_NTP_PORT = 65535;
5959

6060
#if defined(BOARD_HAS_WIFI)
6161
WiFiConnectionHandler ArduinoIoTPreferredConnection(SECRET_SSID, SECRET_PASS);

examples/utility/Provisioning/Provisioning.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const int compressedCertSlot = 10;
99
const int serialNumberAndAuthorityKeyIdentifierSlot = 11;
1010
const int deviceIdSlot = 12;
1111

12-
const int MIN_NTP_PORT = 49152;
13-
const int MAX_NTP_PORT = 65535;
12+
int MIN_NTP_PORT = 49152;
13+
int MAX_NTP_PORT = 65535;
1414

1515
ECCX08CertClass ECCX08Cert;
1616

examples/utility/SelfProvisioning/SelfProvisioning.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const int compressedCertSlot = 10;
3434
const int serialNumberAndAuthorityKeyIdentifierSlot = 11;
3535
const int deviceIdSlot = 12;
3636

37-
const int MIN_NTP_PORT = 49152;
38-
const int MAX_NTP_PORT = 65535;
37+
int MIN_NTP_PORT = 49152;
38+
int MAX_NTP_PORT = 65535;
3939

4040
char ssid[] = SECRET_SSID;
4141
char pass[] = SECRET_PASS;

0 commit comments

Comments
 (0)