From bf829765e4479955abda391265d7ff2371b0b99b Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Fri, 8 May 2020 21:05:37 +0200 Subject: [PATCH] Fix compilation for ESP32 --- lib/Unishox-1.0-shadinger/src/unishox.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Unishox-1.0-shadinger/src/unishox.cpp b/lib/Unishox-1.0-shadinger/src/unishox.cpp index 050d9338c..72c9d3915 100644 --- a/lib/Unishox-1.0-shadinger/src/unishox.cpp +++ b/lib/Unishox-1.0-shadinger/src/unishox.cpp @@ -51,12 +51,9 @@ #include #include +#include #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)