mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Remove extra Udp.parsePacket() from example, it should only be called once
This commit is contained in:
parent
886ecf374f
commit
d718a4a166
@ -77,7 +77,6 @@ void loop() {
|
||||
sendNTPpacket(timeServer); // send an NTP packet to a time server
|
||||
// wait to see if a reply is available
|
||||
delay(1000);
|
||||
Serial.println(Udp.parsePacket());
|
||||
if (Udp.parsePacket()) {
|
||||
Serial.println("packet received");
|
||||
// We've received a packet, read the data from it
|
||||
|
Loading…
x
Reference in New Issue
Block a user