From f99649dc1810035cef0624c64dc3b182eea65353 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 11 Jun 2019 14:08:18 +0200 Subject: [PATCH] Fix non core 2.4.2 compilation error Fix non core 2.5.2 compilation error --- sonoff/WiFiClientSecureLightBearSSL.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonoff/WiFiClientSecureLightBearSSL.cpp b/sonoff/WiFiClientSecureLightBearSSL.cpp index f86dc15bb..ebb913589 100644 --- a/sonoff/WiFiClientSecureLightBearSSL.cpp +++ b/sonoff/WiFiClientSecureLightBearSSL.cpp @@ -47,6 +47,10 @@ extern "C" { #define DEBUG_TLS +#ifndef ARDUINO_ESP8266_RELEASE_2_5_2 +#undef DEBUG_TLS +#endif + #ifdef DEBUG_TLS #include "coredecls.h" #define LOG_HEAP_SIZE(a) _Log_heap_size(a)