mirror of https://github.com/arendst/Tasmota.git
Fix compilation for ESP32
This commit is contained in:
parent
ed33b9c76b
commit
bf829765e4
|
@ -51,12 +51,9 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include <pgmspace.h>
|
||||||
#include "unishox.h"
|
#include "unishox.h"
|
||||||
|
|
||||||
#ifndef PROGMEM // quick fix for ESP32 compilation
|
|
||||||
#define PROGMEM
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
// we squeeze both c_95[] and l_95[] in a sinle array.
|
// 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)
|
// c_95[] uses only the 3 upper nibbles (or 12 most signifcant bits), while the last nibble encodes length (3..13)
|
||||||
|
|
Loading…
Reference in New Issue