1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Update to the fix for Issue #436 - UdpClass renamed to UDP and the constructor moved into the .cpp to prevent compilation errors in certain conditions if w5100.h hasn't been included before Udp.h

This commit is contained in:
amcewen
2011-01-01 21:42:23 +00:00
parent bc0f3c4fe1
commit ca07ac18f3
4 changed files with 16 additions and 13 deletions

View File

@ -36,7 +36,7 @@ char packetBuffer[UDP_TX_PACKET_MAX_SIZE]; //buffer to hold incoming packet,
char ReplyBuffer[] = "acknowledged"; // a string to send back
// A UDP instance to let us send and receive packets over UDP
UdpClass Udp;
UDP Udp;
void setup() {
// start the Ethernet and UDP: