We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b910b12 commit 3c1d6b1Copy full SHA for 3c1d6b1
README.md
@@ -13,10 +13,10 @@ Connect to a NTP server, here is how:
13
const char *ssid = "<SSID>";
14
const char *password = "<PASSWORD>";
15
16
-WiFiUDP ntpUDP(ntpUDP);
+WiFiUDP ntpUDP;
17
18
// By default 'time.nist.gov' is used.
19
-NTPClient timeClient;
+NTPClient timeClient(ntpUDP);
20
21
// You can specify the time server pool and the offset, (in seconds)
22
// additionaly you can specify the update interval (in milliseconds).
0 commit comments