mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
Use correct variable for sendNTPpacket
This commit is contained in:
parent
6387005c7f
commit
5c1ee1f7ad
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user