Quick fix for ESP32 compilation

This commit is contained in:
Stephan Hadinger 2020-05-08 19:56:27 +02:00
parent a2b05399a3
commit ed33b9c76b
1 changed files with 4 additions and 0 deletions

View File

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