1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

Use correct variable for sendNTPpacket

This commit is contained in:
Wietse van Buitenen
2015-05-31 13:02:13 +02:00
parent a19402414f
commit 790606adb2

View File

@ -72,7 +72,7 @@ void loop()
//get a random server from the pool
WiFi.hostByName(ntpServerName, timeServerIP);
sendNTPpacket(timeServer); // send an NTP packet to a time server
sendNTPpacket(timeServerIP); // send an NTP packet to a time server
// wait to see if a reply is available
delay(1000);