Skip to content

Commit b6e2043

Browse files
committed
NTP: increase timeout to 2s
1 parent 9a0b702 commit b6e2043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utility/time/NTPUtils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class NTPUtils
5353
static int const MIN_NTP_PORT = 49152;
5454
static int const MAX_NTP_PORT = 65535;
5555
#endif
56-
static unsigned long const NTP_TIMEOUT_MS = 1000;
56+
static unsigned long const NTP_TIMEOUT_MS = 2000;
5757
static constexpr const char * NTP_TIME_SERVER = "time.arduino.cc";
5858

5959
static void sendNTPpacket(UDP & udp);

0 commit comments

Comments
 (0)