aboutsummaryrefslogtreecommitdiff
path: root/libraries/Ethernet/examples/UdpNtpClient
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Ethernet/examples/UdpNtpClient')
-rw-r--r--libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino (renamed from libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.pde)4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.pde b/libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino
index 7c2d3ea..b4e24b8 100644
--- a/libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.pde
+++ b/libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino
@@ -18,7 +18,7 @@
#include <SPI.h>
#include <Ethernet.h>
-#include <Udp.h>
+#include <EthernetUdp.h>
// Enter a MAC address for your controller below.
// Newer Ethernet shields have a MAC address printed on a sticker on the shield
@@ -34,7 +34,7 @@ const int NTP_PACKET_SIZE= 48; // NTP time stamp is in the first 48 bytes of the
byte packetBuffer[ NTP_PACKET_SIZE]; //buffer to hold incoming and outgoing packets
// A UDP instance to let us send and receive packets over UDP
-UDP Udp;
+EthernetUDP Udp;
void setup()
{