UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/
Diff: mbed/Udp.h
- Revision:
- 35:f9f3a91fe4d4
- Parent:
- 33:7ba5d53df0f2
--- a/mbed/Udp.h Wed Feb 15 01:37:22 2017 +0100 +++ b/mbed/Udp.h Mon Feb 20 11:34:22 2017 +0100 @@ -31,6 +31,8 @@ * * bjoern@cs.stanford.edu 12/30/2008 */ +#if !defined(ARDUINO_ARCH_AVR) && !defined(ARDUINO_ARCH_SAM) + #ifndef udp_h #define udp_h @@ -102,3 +104,4 @@ uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); }; }; #endif +#endif