We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06fcbf0 + 5c1ee1f commit b1c5fd9Copy full SHA for b1c5fd9
libraries/ESP8266WiFi/examples/NTPClient/NTPClient.ino
@@ -72,7 +72,7 @@ void loop()
72
//get a random server from the pool
73
WiFi.hostByName(ntpServerName, timeServerIP);
74
75
- sendNTPpacket(timeServer); // send an NTP packet to a time server
+ sendNTPpacket(timeServerIP); // send an NTP packet to a time server
76
// wait to see if a reply is available
77
delay(1000);
78
0 commit comments