Skip to content

Commit

Permalink
Adding default port range (arduino-libraries#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
luigigubello authored and chrisy committed Apr 15, 2022
1 parent e49e1de commit 50b069d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NTPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class NTPClient {
/**
* Set random local port
*/
void setRandomPort(unsigned int minValue, unsigned int maxValue);
void setRandomPort(unsigned int minValue = 49152, unsigned int maxValue = 65535);

/**
* Starts the underlying UDP client with the default local port
Expand Down

0 comments on commit 50b069d

Please sign in to comment.