From 84a715dc9ba534265d5e1319d8e9ff079aba698f Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Mon, 27 Aug 2018 02:27:41 -0300 Subject: [PATCH] KNX: Automatic Multicast Library Selection --- lib/ESPAsyncUDP-master/src/AsyncUDP.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp b/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp index 2a538c4c6..9e433b1f4 100644 --- a/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp +++ b/lib/ESPAsyncUDP-master/src/AsyncUDP.cpp @@ -1,3 +1,6 @@ +#include // Arduino_Esp8266 version information (ARDUINO_ESP8266_RELEASE and ARDUINO_ESP8266_RELEASE_2_3_0) +#ifndef ARDUINO_ESP8266_RELEASE_2_3_0 // This Library will only work with ARDUINO_ESP8266_RELEASE_2_4_0 and up + #include "Arduino.h" #include "ESPAsyncUDP.h" @@ -425,3 +428,5 @@ size_t AsyncUDP::broadcast(AsyncUDPMessage &message) } return broadcast(message.data(), message.length()); } + +#endif