From deea2d19d047c74b069237916fe9d0c294579613 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 14 Feb 2019 23:16:16 -0800 Subject: [PATCH] ConditionalForwardDeclare (#254) The new core exposes the function so we don't have to --- src/internal/NeoEsp8266DmaMethod.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal/NeoEsp8266DmaMethod.h b/src/internal/NeoEsp8266DmaMethod.h index 3dabcfd..140920e 100644 --- a/src/internal/NeoEsp8266DmaMethod.h +++ b/src/internal/NeoEsp8266DmaMethod.h @@ -48,7 +48,9 @@ extern "C" #include "ets_sys.h" #include "user_interface.h" +#if !defined(__CORE_ESP8266_VERSION_H) void rom_i2c_writeReg_Mask(uint32_t block, uint32_t host_id, uint32_t reg_add, uint32_t Msb, uint32_t Lsb, uint32_t indata); +#endif } struct slc_queue_item