Fix non core 2.4.2 compilation error

Fix non core 2.5.2 compilation error
This commit is contained in:
Theo Arends 2019-06-11 14:08:18 +02:00
parent d60df79c9c
commit f99649dc18
1 changed files with 4 additions and 0 deletions

View File

@ -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)