Skip to content

Commit 86e812b

Browse files
author
Luigi Gubello
committed
Fix examples again
1 parent 2dfc4c3 commit 86e812b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

examples/ArduinoIoTCloud-Advanced/thingProperties.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
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+
710
void onSwitchButtonChange();
811
void onColorChange();
912

examples/ArduinoIoTCloud-Basic/thingProperties.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
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+
1518
void onLedChange();
1619

1720
bool led;

0 commit comments

Comments
 (0)