Fix compilation for ESP32

This commit is contained in:
Stephan Hadinger 2020-05-08 21:05:37 +02:00
parent ed33b9c76b
commit bf829765e4
1 changed files with 1 additions and 4 deletions

View File

@ -51,12 +51,9 @@
#include <ctype.h>
#include <stdint.h>
#include <pgmspace.h>
#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)