KNX: Automatic Multicast Library Selection

This commit is contained in:
Adrian Scillato 2018-08-27 02:27:41 -03:00 committed by GitHub
parent 960c2e32fc
commit 84a715dc9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,6 @@
#include <core_version.h> // 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 "Arduino.h"
#include "ESPAsyncUDP.h" #include "ESPAsyncUDP.h"
@ -425,3 +428,5 @@ size_t AsyncUDP::broadcast(AsyncUDPMessage &message)
} }
return broadcast(message.data(), message.length()); return broadcast(message.data(), message.length());
} }
#endif