Skip to content

Commit 11054bd

Browse files
committed
Removing unnecessary extern declaration of NTP ports
1 parent b5847e4 commit 11054bd

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

examples/ArduinoIoTCloud-Advanced/thingProperties.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
#define THING_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
55
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
66

7-
const int MIN_NTP_PORT = 49152;
8-
const int MAX_NTP_PORT = 65535;
9-
107
void onSwitchButtonChange();
118
void onColorChange();
129

examples/ArduinoIoTCloud-Basic/thingProperties.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
#define THING_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1313
#define BOARD_ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1414

15-
const int MIN_NTP_PORT = 49152;
16-
const int MAX_NTP_PORT = 65535;
17-
1815
void onLedChange();
1916

2017
bool led;

examples/utility/ArduinoIoTCloud_Travis_CI/thingProperties.h

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

57-
int MIN_NTP_PORT = 49152;
58-
int MAX_NTP_PORT = 65535;
59-
6057
#if defined(BOARD_HAS_WIFI)
6158
WiFiConnectionHandler ArduinoIoTPreferredConnection(SECRET_SSID, SECRET_PASS);
6259
#elif defined(BOARD_HAS_GSM)

examples/utility/Provisioning/Provisioning.ino

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

12-
int MIN_NTP_PORT = 49152;
13-
int MAX_NTP_PORT = 65535;
14-
1512
ECCX08CertClass ECCX08Cert;
1613

1714
void setup() {

examples/utility/SelfProvisioning/SelfProvisioning.ino

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

37-
int MIN_NTP_PORT = 49152;
38-
int MAX_NTP_PORT = 65535;
39-
4037
char ssid[] = SECRET_SSID;
4138
char pass[] = SECRET_PASS;
4239
char client_id[] = SECRET_CLIENT_ID;

0 commit comments

Comments
 (0)