From ed33b9c76ba2a8c195abe84ce385033dcd8622a0 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Fri, 8 May 2020 19:56:27 +0200 Subject: [PATCH] Quick fix for ESP32 compilation --- lib/Unishox-1.0-shadinger/src/unishox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Unishox-1.0-shadinger/src/unishox.cpp b/lib/Unishox-1.0-shadinger/src/unishox.cpp index ada408bff..050d9338c 100644 --- a/lib/Unishox-1.0-shadinger/src/unishox.cpp +++ b/lib/Unishox-1.0-shadinger/src/unishox.cpp @@ -53,6 +53,10 @@ #include "unishox.h" +#ifndef PROGMEM // quick fix for ESP32 compilation +#define PROGMEM +#endif + typedef unsigned char byte; // we squeeze both c_95[] and l_95[] in a sinle array. // c_95[] uses only the 3 upper nibbles (or 12 most signifcant bits), while the last nibble encodes length (3..13)