Skip to content

Commit 50b069d

Browse files
luigigubellochrisy
authored andcommitted
Adding default port range (arduino-libraries#117)
1 parent e49e1de commit 50b069d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NTPClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class NTPClient {
5151
/**
5252
* Set random local port
5353
*/
54-
void setRandomPort(unsigned int minValue, unsigned int maxValue);
54+
void setRandomPort(unsigned int minValue = 49152, unsigned int maxValue = 65535);
5555

5656
/**
5757
* Starts the underlying UDP client with the default local port

0 commit comments

Comments
 (0)